# service in Puppet.
loglevel = <%= @loglvl %>
-when = <%= send(:when) %>
+when = <%= @when %>
reportemail = <%= @reportemail %>
reportsuccess = <%= @reportsuccess ? 'yes' : 'no' %>
reportwarning = <%= @reportwarning ? 'yes' : 'no' %>
-<% if reporthost.is_a? String -%>
+<% if @reporthost.is_a? String -%>
<%= 'reporthost = ' + @reporthost %>
<% end -%>
-<% if reportuser.is_a? String -%>
+<% if @reportuser.is_a? String -%>
<%= 'reportuser = ' + @reportuser %>
<% end -%>
-<% if reportdirectory.is_a? String -%>
+<% if @reportdirectory.is_a? String -%>
<%= 'reportdirectory = ' + @reportdirectory %>
<% end -%>
logfile = <%= @logfile %>