wrong path
authorStephen Gran <steve@lobefin.net>
Sun, 21 Jun 2015 18:49:11 +0000 (19:49 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 21 Jun 2015 18:49:11 +0000 (19:49 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/pubsub/manifest/autouser.pp [deleted file]
modules/pubsub/manifests/autouser.pp [new file with mode: 0644]

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     => '.*',
-       }
-}
-
diff --git a/modules/pubsub/manifests/autouser.pp b/modules/pubsub/manifests/autouser.pp
new file mode 100644 (file)
index 0000000..2a27cda
--- /dev/null
@@ -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     => '.*',
+       }
+}
+