) {
include bacula::storage
+ $device_name = "${bacula::storage::filestor_device}-${client}"
+ $media_type_name = "${bacula::storage::filestor_name}-${client}"
+ $directory = "${bacula::storage::backup_path}/${client}"
+
file {
"/etc/bacula/storage-conf.d/${client}.conf":
content => template('bacula/storage/sd-per-client.conf.erb'),
group => bacula,
notify => Exec['bacula-sd restart-when-idle'],
;
- "${bacula::storage::backup_path}/${client}":
+ $directory:
ensure => directory,
mode => '0755',
owner => bacula,
;
}
}
-