Commit 49751354 authored by Micah Anderson's avatar Micah Anderson

update variables for new puppet

parent 7d044de8
...@@ -3,23 +3,23 @@ ...@@ -3,23 +3,23 @@
# the next time Puppet runs. Please make configuration changes to this # the next time Puppet runs. Please make configuration changes to this
# service in Puppet. # service in Puppet.
loglevel = <%= loglvl %> loglevel = <%= @loglvl %>
when = <%= send(:when) %> when = <%= send(:when) %>
reportemail = <%= reportemail %> reportemail = <%= @reportemail %>
reportsuccess = <%= reportsuccess ? 'yes' : 'no' %> reportsuccess = <%= @reportsuccess ? 'yes' : 'no' %>
reportwarning = <%= reportwarning ? 'yes' : 'no' %> reportwarning = <%= @reportwarning ? 'yes' : 'no' %>
<% if @reporthost -%> <% if reporthost.is_a? String -%>
<%= 'reporthost = ' + @reporthost %> <%= 'reporthost = ' + @reporthost %>
<% end -%> <% end -%>
<% if @reportuser -%> <% if reportuser.is_a? String -%>
<%= 'reportuser = ' + @reportuser %> <%= 'reportuser = ' + @reportuser %>
<% end -%> <% end -%>
<% if @reportdirectory -%> <% if reportdirectory.is_a? String -%>
<%= 'reportdirectory = ' + @reportdirectory %> <%= 'reportdirectory = ' + @reportdirectory %>
<% end -%> <% end -%>
logfile = <%= logfile %> logfile = <%= @logfile %>
configdirectory = <%= configdir %> configdirectory = <%= @configdir %>
scriptdirectory = <%= scriptdir %> scriptdirectory = <%= @scriptdir %>
libdirectory = <%= libdir %> libdirectory = <%= @libdir %>
usecolors = <%= usecolors ? 'yes' : 'no' %> usecolors = <%= @usecolors ? 'yes' : 'no' %>
vservers = <%= vservers ? 'yes' : 'no' %> vservers = <%= @vservers ? 'yes' : 'no' %>
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
# the next time Puppet runs. Please make configuration changes to this # the next time Puppet runs. Please make configuration changes to this
# service in Puppet. # service in Puppet.
<% command_string.each do |line| -%> <% @command_string.each_line do |line| -%>
<%= line %> <%= line %>
<% end -%> <% 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