From: Tollef Fog Heen Date: Sat, 16 Jun 2012 09:23:23 +0000 (+0200) Subject: Set $client to make per-client config more readable X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=060f8244c251b0c4c4e6472d23d4513432aa5bd8;p=mirror%2Fdsa-puppet.git Set $client to make per-client config more readable --- diff --git a/modules/bacula/manifests/director.pp b/modules/bacula/manifests/director.pp index e4ec300a4..40720b749 100644 --- a/modules/bacula/manifests/director.pp +++ b/modules/bacula/manifests/director.pp @@ -39,6 +39,7 @@ class bacula::director inherits bacula { # These must be kept in sync with the settings in bacula.pp $bacula_client_name = "${name}-fd" $bacula_client_secret = hmac("/etc/puppet/secret", "bacula-fd-${name}") + $client = $name file { "/etc/bacula/conf.d/${name}.conf":