use new split v4/v6 defs in template
authorStephen Gran <steve@lobefin.net>
Sun, 21 Feb 2010 16:04:47 +0000 (16:04 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 21 Feb 2010 16:04:47 +0000 (16:04 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/me.conf.erb

index 2d05f5e..8c3c234 100644 (file)
@@ -9,7 +9,7 @@
 sshallowed = []
 
 case hostname
-  when 'logtest01' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS' ]
+  when 'logtest01' then sshallowed << [ '$DSA_IPS', '$HOST_NAGIOS_V4', '$HOST_DB_V4' ]
 end
 
 if sshallowed.length == 0
@@ -24,7 +24,7 @@ sshallowed.join(' ')
 sshallowed = []
 
 case hostname
-  when 'logtest01' then sshallowed << [ '$DSA_V6_IPS' ]
+  when 'logtest01' then sshallowed << [ '$DSA_V6_IPS', '$HOST_NAGIOS_V6', '$HOST_DB_V6' ]
 end
 
 if sshallowed.length == 0