Merge "Fixing deprecation warnings in logrotate module"

This commit is contained in:
Jenkins 2014-09-03 23:26:18 +00:00 committed by Gerrit Code Review
commit 112f90c480

View File

@ -1,24 +1,24 @@
<%= log %> { <%= @log %> {
<% options.each do |opt| -%> <%= opt %> <% @options.each do |opt| -%> <%= opt %>
<% end -%> <% end -%>
<% if prerotate != 'undef' -%> <% if @prerotate != 'undef' -%>
prerotate prerotate
<%= prerotate %> <%= @prerotate %>
endscript endscript
<% end -%> <% end -%>
<% if postrotate != 'undef' -%> <% if @postrotate != 'undef' -%>
postrotate postrotate
<%= postrotate %> <%= @postrotate %>
endscript endscript
<% end -%> <% end -%>
<% if firstaction != 'undef' -%> <% if @firstaction != 'undef' -%>
firstaction firstaction
<%= firstaction %> <%= @firstaction %>
endscript endscript
<% end -%> <% end -%>
<% if lastaction != 'undef' -%> <% if @lastaction != 'undef' -%>
lastaction lastaction
<%= lastaction %> <%= @lastaction %>
endscript endscript
<% end -%> <% end -%>
} }