Commit 49751354 authored by Micah Anderson's avatar Micah Anderson

update variables for new puppet

parent 7d044de8
......@@ -3,23 +3,23 @@
# the next time Puppet runs. Please make configuration changes to this
# service in Puppet.
loglevel = <%= loglvl %>
loglevel = <%= @loglvl %>
when = <%= send(:when) %>
reportemail = <%= reportemail %>
reportsuccess = <%= reportsuccess ? 'yes' : 'no' %>
reportwarning = <%= reportwarning ? 'yes' : 'no' %>
<% if @reporthost -%>
reportemail = <%= @reportemail %>
reportsuccess = <%= @reportsuccess ? 'yes' : 'no' %>
reportwarning = <%= @reportwarning ? 'yes' : 'no' %>
<% if reporthost.is_a? String -%>
<%= 'reporthost = ' + @reporthost %>
<% end -%>
<% if @reportuser -%>
<% if reportuser.is_a? String -%>
<%= 'reportuser = ' + @reportuser %>
<% end -%>
<% if @reportdirectory -%>
<% if reportdirectory.is_a? String -%>
<%= 'reportdirectory = ' + @reportdirectory %>
<% end -%>
logfile = <%= logfile %>
configdirectory = <%= configdir %>
scriptdirectory = <%= scriptdir %>
libdirectory = <%= libdir %>
usecolors = <%= usecolors ? 'yes' : 'no' %>
vservers = <%= vservers ? 'yes' : 'no' %>
logfile = <%= @logfile %>
configdirectory = <%= @configdir %>
scriptdirectory = <%= @scriptdir %>
libdirectory = <%= @libdir %>
usecolors = <%= @usecolors ? 'yes' : 'no' %>
vservers = <%= @vservers ? 'yes' : 'no' %>
......@@ -5,6 +5,6 @@
# the next time Puppet runs. Please make configuration changes to this
# service in Puppet.
<% command_string.each do |line| -%>
<% @command_string.each_line do |line| -%>
<%= line %>
<% end -%>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment