1 # bacula storage for node. This is stored config by a client, collected on the storage
2 define bacula::storage_per_node() {
6 $bacula_filestor_device = $bacula::bacula_filestor_device
7 $bacula_filestor_name = $bacula::bacula_filestor_name
8 $bacula_backup_path = $bacula::bacula_backup_path
10 $bacula_client_name = "${name}-fd"
14 "/etc/bacula/storage-conf.d/${name}.conf":
15 content => template('bacula/storage-per-client.conf.erb'),
18 notify => Exec['bacula-sd restart-when-idle'],
20 "${bacula_backup_path}/${name}":