]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Set $client to make per-client config more readable
authorTollef Fog Heen <tfheen@err.no>
Sat, 16 Jun 2012 09:23:23 +0000 (11:23 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 16 Jun 2012 09:23:23 +0000 (11:23 +0200)
modules/bacula/manifests/director.pp

index e4ec300a46da060d7fdbcf7169558569393b29a8..40720b7496c7ff8f05fd2e99354fed44ab4d5f6b 100644 (file)
@@ -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":