From: Stephen Gran Date: Sun, 1 Sep 2013 09:00:43 +0000 (+0100) Subject: more buildd perms X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=7436aec9b9feafca4eb1ec7f908d42ad1d83593c;p=mirror%2Fdsa-puppet.git more buildd perms Signed-off-by: Stephen Gran --- diff --git a/modules/roles/manifests/pubsub.pp b/modules/roles/manifests/pubsub.pp index 0e891861a..2aaad04f8 100644 --- a/modules/roles/manifests/pubsub.pp +++ b/modules/roles/manifests/pubsub.pp @@ -105,6 +105,16 @@ class roles::pubsub { ] } + rabbitmq_user_permissions { 'wbadm@packages': + read_permission => 'unchecked', + write_permission => 'wbadm', + provider => 'rabbitmqctl', + require => [ + Rabbitmq_user['wbadm'], + Rabbitmq_vhost['packages'] + ] + } + rabbitmq_user_permissions { 'buildd@buildd': configure_permission => '.*', read_permission => '.*', @@ -116,6 +126,17 @@ class roles::pubsub { ] } + rabbitmq_user_permissions { 'wbadm@buildd': + configure_permission => '.*', + read_permission => '.*', + write_permission => '.*', + provider => 'rabbitmqctl', + require => [ + Rabbitmq_user['wbadm'], + Rabbitmq_vhost['buildd'] + ] + } + rabbitmq_policy { 'mirror-buildd': vhost => 'buildd', match => '.*',