From: Stephen Gran Date: Sun, 21 Jun 2015 18:49:11 +0000 (+0100) Subject: wrong path X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=46c4cc91cdd8c148b56b50dd20233de38448d3ec;p=mirror%2Fdsa-puppet.git wrong path Signed-off-by: Stephen Gran --- diff --git a/modules/pubsub/manifest/autouser.pp b/modules/pubsub/manifest/autouser.pp deleted file mode 100644 index 2a27cda6d..000000000 --- a/modules/pubsub/manifest/autouser.pp +++ /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 => '.*', - } -} - diff --git a/modules/pubsub/manifests/autouser.pp b/modules/pubsub/manifests/autouser.pp new file mode 100644 index 000000000..2a27cda6d --- /dev/null +++ b/modules/pubsub/manifests/autouser.pp @@ -0,0 +1,27 @@ +# == 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 => '.*', + } +} +