projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve drbd ferm rule
[mirror/dsa-puppet.git]
/
modules
/
ganeti2
/
manifests
/
init.pp
diff --git
a/modules/ganeti2/manifests/init.pp
b/modules/ganeti2/manifests/init.pp
index
9333a8b
..
8630c13
100644
(file)
--- 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,
}
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,
+ }
}
}