Fixing deprecation warnings in logrotate module

Change-Id: I9e69cc96db5e84e729d7bdbe655c3933886903ce
This commit is contained in:
Spencer Krum 2014-08-25 16:34:44 -07:00
parent c58c5d2a6a
commit 2af61997a6

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 -%>
} }