bacula::node need not include bacula::director
[mirror/dsa-puppet.git] / modules / bacula / manifests / node.pp
1 define bacula::node() {
2         $bacula_client_name   = "${name}-fd"
3         $bacula_client_secret = hmac('/etc/puppet/secret', "bacula-fd-${name}")
4         $client               = $name
5
6         file { "/etc/bacula/conf.d/${name}.conf":
7                 content => template('bacula/per-client.conf.erb'),
8                 mode    => '0440',
9                 group   => bacula,
10                 notify  => Service['bacula-director']
11         }
12 }
13