use the correct parameter
[mirror/dsa-puppet.git] / modules / roles / manifests / pubsub / client.pp
index 7fe1a88..8643162 100644 (file)
@@ -8,7 +8,7 @@
 #
 class roles::pubsub::client {
 
-       $rabbit_password = hkdf('/etc/puppet/secret', "mq-client-${name}")
+       $rabbit_password = hkdf('/etc/puppet/secret', "mq-client-${::fqdn}")
 
        file { '/etc/dsa/pubsub.conf':
                content => template('roles/pubsub/pubsub.conf.erb'),