From 5022b517840424d7ca7fb87b9c5868d91f83db5d Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 12 Jan 2014 18:52:50 +0000 Subject: [PATCH] protect the password Signed-off-by: Stephen Gran --- modules/roles/manifests/pubsub/client.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/roles/manifests/pubsub/client.pp b/modules/roles/manifests/pubsub/client.pp index 3335ffe3c..7fe1a88c7 100644 --- a/modules/roles/manifests/pubsub/client.pp +++ b/modules/roles/manifests/pubsub/client.pp @@ -11,6 +11,7 @@ class roles::pubsub::client { $rabbit_password = hkdf('/etc/puppet/secret', "mq-client-${name}") file { '/etc/dsa/pubsub.conf': - content => template('roles/pubsub/pubsub.conf.erb') + content => template('roles/pubsub/pubsub.conf.erb'), + mode => '0440' } } -- 2.20.1