From ac78ef004223e7ab0cd9a569e8f5ec370c8bcf3a Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Sun, 31 May 2015 19:42:38 +0000 Subject: [PATCH] use pubsub::autouser Signed-off-by: Martin Zobel-Helas --- modules/roles/manifests/pubsub/entities.pp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/roles/manifests/pubsub/entities.pp b/modules/roles/manifests/pubsub/entities.pp index d0c13f2b7..d86e7f176 100644 --- a/modules/roles/manifests/pubsub/entities.pp +++ b/modules/roles/manifests/pubsub/entities.pp @@ -58,6 +58,10 @@ class roles::pubsub::entities { password => $pet_password, } + $do_hosts = keys($site::localinfo) + + pubsub::autouser { $do_hosts: } + rabbitmq_vhost { 'packages': ensure => present, } @@ -111,8 +115,8 @@ class roles::pubsub::entities { } rabbitmq_user_permissions { 'wbadm@packages': - read_permission => 'unchecked', - write_permission => 'wbadm', + read_permission => 'unchecked', + write_permission => 'wbadm', } rabbitmq_user_permissions { 'buildd@buildd': -- 2.20.1