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:
8ca9d2f
)
add firewall rules
author
Stephen Gran
<steve@lobefin.net>
Sun, 25 Aug 2013 19:26:50 +0000
(20:26 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 25 Aug 2013 19:26:50 +0000
(20:26 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/roles/manifests/pubsub.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/pubsub.pp
b/modules/roles/manifests/pubsub.pp
index
20a3bb5
..
a43423e
100644
(file)
--- a/
modules/roles/manifests/pubsub.pp
+++ b/
modules/roles/manifests/pubsub.pp
@@
-46,4
+46,15
@@
class roles::pubsub {
provider => 'rabbitmqctl',
require => Rabbitmq_user['admin']
}
+
+ @ferm::rule { 'rabbitmq':
+ description => 'rabbitmq connections',
+ rule => '&SERVICE_RANGE(tcp, 5672, $HOST_DEBIAN_V4)'
+ }
+
+ @ferm::rule { 'rabbitmq-v6':
+ domain => 'ip6',
+ description => 'rabbitmq connections',
+ rule => '&SERVICE_RANGE(tcp, 5672, $HOST_DEBIAN_V6)'
+ }
}