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:
95cd7ad
)
add forced mirror policy
author
Stephen Gran
<steve@lobefin.net>
Mon, 26 Aug 2013 09:11:50 +0000
(10:11 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Mon, 26 Aug 2013 09:11:50 +0000
(10:11 +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
3ae9ba6
..
6f93567
100644
(file)
--- a/
modules/roles/manifests/pubsub.pp
+++ b/
modules/roles/manifests/pubsub.pp
@@
-75,6
+75,13
@@
class roles::pubsub {
]
}
+ rabbitmq_policy { 'mirror-packages':
+ vhost => 'packages',
+ match => '*',
+ policy => '{"ha-mode":"all"}',
+ require => Rabbitmq_vhost['packages']
+ }
+
@ferm::rule { 'rabbitmq':
description => 'rabbitmq connections',
rule => '&SERVICE_RANGE(tcp, 5671, $HOST_DEBIAN_V4)'