From: Julien Cristau Date: Sun, 29 Sep 2019 14:05:41 +0000 (+0200) Subject: Don't hardcode bacula director host name X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a4132a68b137320eaa285e19ee34ef9572c5c626;p=mirror%2Fdsa-puppet.git Don't hardcode bacula director host name --- diff --git a/modules/roles/manifests/bacula/director.pp b/modules/roles/manifests/bacula/director.pp index e142e8140..91b198dd0 100644 --- a/modules/roles/manifests/bacula/director.pp +++ b/modules/roles/manifests/bacula/director.pp @@ -12,7 +12,7 @@ class roles::bacula::director( tag => "postgres::cluster::${pg_port}::hba::${pg_server}", pg_port => $pg_port, database => 'bacula', - user => ['bacula', 'bacula-dinis-reader', 'nagios'], + user => ['bacula', 'bacula-${::hostname}-reader', 'nagios'], address => $base::public_addresses, } }