We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a9ea6 commit ffa2c06Copy full SHA for ffa2c06
definitions/logrotate_app.rb
@@ -61,10 +61,10 @@
61
:rotate => params[:rotate],
62
:olddir => params[:olddir],
63
:sharedscripts => params[:sharedscripts],
64
- :postrotate => params[:postrotate],
65
- :prerotate => params[:prerotate],
66
- :firstaction => params[:firstaction],
67
- :lastaction => params[:lastaction],
+ :postrotate => Array(params[:postrotate]).join("\n"),
+ :prerotate => Array(params[:prerotate]).join("\n"),
+ :firstaction => Array(params[:firstaction]).join("\n"),
+ :lastaction => Array(params[:lastaction]).join("\n"),
68
:options => options
69
)
70
notifies :reload, 'service[logrotate]', :delayed
0 commit comments