From dd9a942af75b2283d353169d48764a16b75fb96c Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 16 Jun 2012 12:35:43 +0200 Subject: [PATCH] And a bit more stable keys, as well as limiting the access to the director a bit --- modules/bacula/manifests/bacula.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bacula/manifests/bacula.pp b/modules/bacula/manifests/bacula.pp index b998de2eb..9dde19d26 100644 --- a/modules/bacula/manifests/bacula.pp +++ b/modules/bacula/manifests/bacula.pp @@ -20,11 +20,11 @@ class bacula { $bacula_backup_path = "/srv/backup.debian.org/bacula" - $bacula_director_secret = hmac("/etc/puppet/secret", "bacula-dir-$bacula_director_name") + $bacula_director_secret = hmac("/etc/puppet/secret", "bacula-dir-$hostname") $bacula_db_secret = hmac("/etc/puppet/secret", "bacula-db-$hostname") $bacula_storage_secret = hmac("/etc/puppet/secret", "bacula-sd-$bacula_storage_name") $bacula_client_secret = hmac("/etc/puppet/secret", "bacula-fd-$hostname") - $bacula_monitor_secret = hmac("/etc/puppet/secret", "bacula-monitor-$hostname") + $bacula_monitor_secret = hmac("/etc/puppet/secret", "bacula-monitor-$bacula_director_name") package { "bacula-console": ensure => installed; -- 2.20.1