]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Actually get the output of the block
authorStephen Gran <steve@lobefin.net>
Sat, 16 May 2009 09:21:41 +0000 (10:21 +0100)
committerStephen Gran <steve@lobefin.net>
Sat, 16 May 2009 09:21:41 +0000 (10:21 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/samhain/templates/samhainrc.erb

index 9baa77e0ae966653536754b196e3c12b0377241f..cecf9df19dc9cf0d762ce691edc86931adedbeac 100644 (file)
@@ -114,7 +114,7 @@ file=/etc/default
 file=/etc/logrotate.d
 file=/etc/nagios
 file=/etc/nagios/nrpe.d
-<% extradir=""
+<%= extradir=""
 case fqdn 
 when "spohr.debian.org": extradir="file=/etc/nagios3/puppetconf.d
 file=/etc/puppet"
@@ -272,7 +272,7 @@ file=/etc/monit/monitrc
 file=/etc/monit/monit.d/01puppet
 file=/etc/monit/monit.d/00debian.org
 file=/etc/resolv.conf.dhclient-new
-<% extrafiles=""
+<%= extrafiles=""
 case fqdn 
 when "spohr.debian.org": extrafiles="file=/etc/nagios3/puppetconf.d/auto-hostgroups.cfg
 file=/etc/nagios3/puppetconf.d/auto-hosts.cfg
@@ -728,7 +728,8 @@ SetMailNum = 10
 SetMailAddress=samhain-reports@debian.org
 
 ## Mail relay (IP address)
-<%out=""
+<%=
+out=""
 if not nodeinfo['smarthost'].empty?
   out = '
 SetMailRelay = localhost