Call HOST_DRBD_V4 now HOST_GANETI_BACKEND_V4
authorPeter Palfrader <peter@palfrader.org>
Tue, 19 Jun 2012 16:59:50 +0000 (18:59 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 19 Jun 2012 16:59:50 +0000 (18:59 +0200)
modules/ferm/templates/defs.conf.erb
modules/ganeti2/manifests/init.pp

index 9c2debb..6093e2d 100644 (file)
   dbs.join(' ')
 %>);
 
-@def $HOST_GANETI_V4 = (206.12.19.213/32 206.12.19.217/32);
-@def $HOST_DRBD_V4   = (192.168.2.213/32 192.168.2.217/32);
+@def $HOST_GANETI_V4           = (206.12.19.213/32 206.12.19.217/32);
+@def $HOST_GANETI_BACKEND_V4   = (192.168.2.213/32 192.168.2.217/32);
 
 @def $HOST_DEBIAN = ($HOST_DEBIAN_V4 $HOST_DEBIAN_V6);
 
index 436c0dd..79a2ba1 100644 (file)
@@ -36,7 +36,7 @@ class ganeti2 {
 
        @ferm::rule { 'dsa-drbd-v4':
                description => 'allow drbd communication',
-               rule        => 'proto tcp mod state state (NEW) dport (11000:11999) @subchain \'drbd\' { saddr ($HOST_DRBD_V4) daddr ($HOST_DRBD_V4) ACCEPT; }',
+               rule        => 'proto tcp mod state state (NEW) dport (11000:11999) @subchain \'drbd\' { saddr ($HOST_GANETI_BACKEND_V4) daddr ($HOST_GANETI_BACKEND_V4) ACCEPT; }',
                notarule    => true,
        }
 }