1 # Bacula storage configuration for a client.
3 # This is stored config by a client and then collected on the storage
5 # @param client The name of the client (relevant for device names, media type names, etc.)
6 define bacula::storage::client(
9 include bacula::storage
11 $device_name = "${bacula::storage::filestor_device}-${client}"
12 $media_type_name = "${bacula::storage::filestor_name}-${client}"
13 $directory = "${bacula::storage::backup_path}/${client}"
16 "/etc/bacula/storage-conf.d/${client}.conf":
17 content => template('bacula/storage/sd-per-client.conf.erb'),
20 notify => Exec['bacula-sd restart-when-idle'],