From: Stephen Gran Date: Sat, 16 May 2009 09:26:40 +0000 (+0100) Subject: let's try to actually use the case syntax that ruby uses X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8f4c598a904e7bddc60f030b2b8e554f43b79301;p=mirror%2Fdsa-puppet.git let's try to actually use the case syntax that ruby uses Signed-off-by: Stephen Gran --- diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 7cb34350d..87ccfc15f 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -119,7 +119,7 @@ case fqdn when "spohr.debian.org": extradir="file=/etc/nagios3/puppetconf.d file=/etc/puppet" when "handel.debian.org": extradir="dir=8/etc/puppet" -default: extradir="file=/etc/puppet" +else extradir="file=/etc/puppet" end extradir %> @@ -280,7 +280,6 @@ file=/etc/nagios3/puppetconf.d/auto-services.cfg file=/etc/nagios3/puppetconf.d/auto-dependencies.cfg file=/etc/nagios3/puppetconf.d/auto-hostextinfo.cfg file=/etc/nagios3/puppetconf.d/auto-serviceextinfo.cfg" -default: end extradir %>