projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03e0709
)
let's try to actually use the case syntax that ruby uses
author
Stephen Gran
<steve@lobefin.net>
Sat, 16 May 2009 09:26:40 +0000
(10:26 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 16 May 2009 09:26:40 +0000
(10:26 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/samhain/templates/samhainrc.erb
patch
|
blob
|
history
diff --git
a/modules/samhain/templates/samhainrc.erb
b/modules/samhain/templates/samhainrc.erb
index
7cb3435
..
87ccfc1
100644
(file)
--- 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
%>