]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
use pubsub::autouser
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 31 May 2015 19:42:38 +0000 (19:42 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 21 Jun 2015 18:29:45 +0000 (19:29 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/roles/manifests/pubsub/entities.pp

index d0c13f2b78bb0b09c5f3f60a36496eafc92bf11b..d86e7f1761cc0b0d04b4886a370a1538f8f43fcb 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':