From 7436aec9b9feafca4eb1ec7f908d42ad1d83593c Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 1 Sep 2013 10:00:43 +0100 Subject: [PATCH] more buildd perms Signed-off-by: Stephen Gran --- modules/roles/manifests/pubsub.pp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 => '.*', -- 2.20.1