X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Finit.pp;h=8630c1306a1a6352c0b8e2be42092f1790c8cb95;hb=dac3e41213e7870450d3e05cae99870765e1f927;hp=9333a8b29444e34b70c9e124a73bc8a7520b6fb1;hpb=d7968da127e174498bf1e122bb879f3e87c590ba;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/manifests/init.pp b/modules/ganeti2/manifests/init.pp index 9333a8b29..8630c1306 100644 --- a/modules/ganeti2/manifests/init.pp +++ b/modules/ganeti2/manifests/init.pp @@ -21,4 +21,10 @@ class ganeti2 { rule => 'proto tcp mod state state (NEW) dport (1811) @subchain \'ganeti\' { saddr ($HOST_GANETI_V4) ACCEPT; }', notarule => true, } + + @ferm::rule { 'dsa-drbd-v4': + description => 'Allow ganeti from ganeti master', + rule => 'proto tcp mod state state (NEW) dport (11000:11999) @subchain \'drbd\' { saddr ($HOST_DRBD_V4) daddr ($HOST_DRBD_4) ACCEPT; }', + notarule => true, + } }