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 %> {
|
<%= @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 -%>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue