]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/pubsub/manifest/autouser.pp
wrong path
[dsa-puppet.git] / modules / pubsub / manifest / autouser.pp
diff --git a/modules/pubsub/manifest/autouser.pp b/modules/pubsub/manifest/autouser.pp
deleted file mode 100644 (file)
index 2a27cda..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# == Define: pubsub::autouser
-#
-# Create a user in rabbitmq automatically for debian.org hosts
-# Should automatically create a password
-#
-# === Parameters
-#
-# === Examples
-#
-#  pubsub::autouser { 'master.debian.org': }
-#
-define pubsub::autouser () {
-
-       $pubsub_password = hkdf('/etc/puppet/secret', "mq-client-${name}")
-
-       rabbitmq_user { $name:
-               admin    => false,
-               password => $pubsub_password,
-       }
-
-       rabbitmq_user_permissions { "${name}@dsa":
-               configure_permission => '.*',
-               read_permission      => '.*',
-               write_permission     => '.*',
-       }
-}
-