Fixing deprecation warnings
Non instance variable representation is deprecated so needs to be changed. This change changes varibles to their instance variable representation. See more details see: http://docs.puppetlabs.com/guides/templating.html Change-Id: Ib77827e01011ef6c0380c9ec7a9d147eafd8ce2f
This commit is contained in:
parent
3b47507e28
commit
a38fb0780e
|
@ -1,24 +1,24 @@
|
|||
<%= log %> {
|
||||
<% options.each do |opt| -%> <%= opt %>
|
||||
<%= @log %> {
|
||||
<% @options.each do |opt| -%> <%= opt %>
|
||||
<% end -%>
|
||||
<% if prerotate != 'undef' -%>
|
||||
<% if @prerotate != 'undef' -%>
|
||||
prerotate
|
||||
<%= prerotate %>
|
||||
<%= @prerotate %>
|
||||
endscript
|
||||
<% end -%>
|
||||
<% if postrotate != 'undef' -%>
|
||||
<% if @postrotate != 'undef' -%>
|
||||
postrotate
|
||||
<%= postrotate %>
|
||||
<%= @postrotate %>
|
||||
endscript
|
||||
<% end -%>
|
||||
<% if firstaction != 'undef' -%>
|
||||
<% if @firstaction != 'undef' -%>
|
||||
firstaction
|
||||
<%= firstaction %>
|
||||
<%= @firstaction %>
|
||||
endscript
|
||||
<% end -%>
|
||||
<% if lastaction != 'undef' -%>
|
||||
<% if @lastaction != 'undef' -%>
|
||||
lastaction
|
||||
<%= lastaction %>
|
||||
<%= @lastaction %>
|
||||
endscript
|
||||
<% end -%>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue