summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Krum <nibz@cat.pdx.edu>2014-06-18 15:44:01 -0700
committerSpencer Krum <krum.spencer@gmail.com>2014-06-19 22:41:42 -0700
commita38fb0780e4eb766c92a0964320ed1380b6183c7 (patch)
tree5d3841fee1d18dd3d90256fbb0521ecd7825d9cc
parent3b47507e2849333886aa1ad781d3a4c1c46ae251 (diff)
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
-rw-r--r--templates/config.erb20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/config.erb b/templates/config.erb
index 58c8cf0..619c299 100644
--- a/templates/config.erb
+++ b/templates/config.erb
@@ -1,24 +1,24 @@
1<%= log %> { 1<%= @log %> {
2<% options.each do |opt| -%> <%= opt %> 2<% @options.each do |opt| -%> <%= opt %>
3<% end -%> 3<% end -%>
4<% if prerotate != 'undef' -%> 4<% if @prerotate != 'undef' -%>
5 prerotate 5 prerotate
6 <%= prerotate %> 6 <%= @prerotate %>
7 endscript 7 endscript
8<% end -%> 8<% end -%>
9<% if postrotate != 'undef' -%> 9<% if @postrotate != 'undef' -%>
10 postrotate 10 postrotate
11 <%= postrotate %> 11 <%= @postrotate %>
12 endscript 12 endscript
13<% end -%> 13<% end -%>
14<% if firstaction != 'undef' -%> 14<% if @firstaction != 'undef' -%>
15 firstaction 15 firstaction
16 <%= firstaction %> 16 <%= @firstaction %>
17 endscript 17 endscript
18<% end -%> 18<% end -%>
19<% if lastaction != 'undef' -%> 19<% if @lastaction != 'undef' -%>
20 lastaction 20 lastaction
21 <%= lastaction %> 21 <%= @lastaction %>
22 endscript 22 endscript
23<% end -%> 23<% end -%>
24} 24}