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 e4ec300..40720b7 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":