From 8f4c598a904e7bddc60f030b2b8e554f43b79301 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 16 May 2009 10:26:40 +0100 Subject: [PATCH] let's try to actually use the case syntax that ruby uses Signed-off-by: Stephen Gran --- modules/samhain/templates/samhainrc.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 %> -- 2.20.1