From: Stephen Gran Date: Mon, 26 Aug 2013 09:11:50 +0000 (+0100) Subject: add forced mirror policy X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d5c8952bdf06d10f96fc646c9a86b3bc40c95e2d;p=mirror%2Fdsa-puppet.git add forced mirror policy Signed-off-by: Stephen Gran --- diff --git a/modules/roles/manifests/pubsub.pp b/modules/roles/manifests/pubsub.pp index 3ae9ba61b..6f93567d8 100644 --- 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)'