Signed-off-by: Stephen Gran <steve@lobefin.net>
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"
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
SetMailAddress=samhain-reports@debian.org
## Mail relay (IP address)
-<%out=""
+<%=
+out=""
if not nodeinfo['smarthost'].empty?
out = '
SetMailRelay = localhost