From: Peter Palfrader Date: Tue, 24 Sep 2019 21:04:55 +0000 (+0200) Subject: and use fqdn in hkdf X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=03f5b6f6ce2d06811208c93f6838e0318347bceb;p=mirror%2Fdsa-puppet.git and use fqdn in hkdf --- diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index 8c9791698..a1a4e94b4 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -18,7 +18,7 @@ class bacula::director( ) inherits bacula { # used by e.g. bconsole - $director_secret = hkdf('/etc/puppet/secret', "bacula-dir-${::hostname}") + $director_secret = hkdf('/etc/puppet/secret', "bacula-dir-${::fqdn}") # the RestoreFiles Job needs a Pool. Any valid pool. $some_pool_name = "poolfull-${pool_name}-${bacula::bacula_director_address}"