1 define bacula::node() {
2 include bacula::director
4 $bacula_client_name = "${name}-fd"
5 $bacula_client_secret = hmac('/etc/puppet/secret', "bacula-fd-${name}")
8 file { "/etc/bacula/conf.d/${name}.conf":
9 content => template('bacula/per-client.conf.erb'),
12 notify => Service['bacula-director']