X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fstorage%2Fclient.pp;h=12573008eeab1e16134a1edcc432d3ed7659ea23;hb=825e27050780ecccd54fb81d9d8f0ce7a3395caf;hp=e49ff2b328e904e14d4676c87ce2e97c8e4082e8;hpb=4b12f0d2a6ab1166b3d0cc7412789a7279a47b62;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/storage/client.pp b/modules/bacula/manifests/storage/client.pp index e49ff2b32..12573008e 100644 --- a/modules/bacula/manifests/storage/client.pp +++ b/modules/bacula/manifests/storage/client.pp @@ -4,9 +4,15 @@ # # @param director_server director for this client # @param client name/address of the client (relevant for device names, media type names, etc.) +# @param volume_retention_full how long to keep volumes with full backups +# @param volume_retention_diff how long to keep volumes with differential backups +# @param volume_retention_inc how long to keep volumes with incremental backups define bacula::storage::client( String $director_server, - Stdlib::Host $client = $name + Stdlib::Host $client = $name, + String $volume_retention_full = '100 days', # XXX remove defaults + String $volume_retention_diff = '50 days', # XXX remove defaults + String $volume_retention_inc = '30 days', # XXX remove defaults ) { include bacula::storage @@ -42,5 +48,8 @@ define bacula::storage::client( storage_secret => $dir_storage_secret, storage_device_name => $device_name, storage_media_type_name => $media_type_name, + volume_retention_full => $volume_retention_full, + volume_retention_diff => $volume_retention_diff, + volume_retention_inc => $volume_retention_inc, } }