- $bacula_storage_secret = hmac("/etc/puppet/secret", "bacula-sd-$hostname")
- $bacula_client_secret = hmac("/etc/puppet/secret", "bacula-fd-$hostname")
- $bacula_monitor_secret = hmac("/etc/puppet/secret", "bacula-monitor-$hostname")
+ $bacula_db_secret = hmac("/etc/puppet/secret", "bacula-db-$hostname")
+ $bacula_storage_secret = hmac("/etc/puppet/secret", "bacula-sd-$bacula_storage_name")
+ $bacula_client_secret = hmac("/etc/puppet/secret", "bacula-fd-$fqdn")
+ $bacula_monitor_secret = hmac("/etc/puppet/secret", "bacula-monitor-$bacula_director_name")