use pubsub::autouser
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 31 May 2015 19:42:38 +0000 (19:42 +0000)
committerMartin Zobel-Helas <zobel@debian.org>
Sun, 31 May 2015 19:42:38 +0000 (19:42 +0000)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/roles/manifests/pubsub/entities.pp

index d0c13f2..d86e7f1 100644 (file)
@@ -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':