From 060f8244c251b0c4c4e6472d23d4513432aa5bd8 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 16 Jun 2012 11:23:23 +0200 Subject: [PATCH] Set $client to make per-client config more readable --- modules/bacula/manifests/director.pp | 1 + 1 file changed, 1 insertion(+) 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": -- 2.20.1