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:
5c6d90d
)
pubsub: merge IPv4 and IPv6 rules in a single rule
author
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 27 Sep 2019 22:27:38 +0000
(
00:27
+0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Fri, 27 Sep 2019 22:27:38 +0000
(
00:27
+0200)
modules/roles/manifests/pubsub.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/pubsub.pp
b/modules/roles/manifests/pubsub.pp
index
0a6e72c
..
d165fcc
100644
(file)
--- a/
modules/roles/manifests/pubsub.pp
+++ b/
modules/roles/manifests/pubsub.pp
@@
-31,13
+31,8
@@
class roles::pubsub {
ferm::rule { 'rabbitmq':
description => 'rabbitmq connections',
- rule => '&SERVICE_RANGE(tcp, 5671, $HOST_DEBIAN_V4)'
- }
-
- ferm::rule { 'rabbitmq-v6':
- domain => 'ip6',
- description => 'rabbitmq connections',
- rule => '&SERVICE_RANGE(tcp, 5671, $HOST_DEBIAN_V6)'
+ domain => '(ip ip6)',
+ rule => '&SERVICE_RANGE(tcp, 5671, $HOST_DEBIAN)'
}
if $::hostname == $cc_master {