X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Fmanifests%2Fstorage.pp;h=c2b6886d90461255a5b6619d0cfc7eef7039f443;hb=e09b1d7607ce74df99e1324e405c2877d09bee79;hp=34bd6491be13d56f0646af082dcaf0275ca08064;hpb=710c80f43aed35f4c0f061274b525ae422392975;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index 34bd6491b..c2b6886d9 100644 --- a/modules/bacula/manifests/storage.pp +++ b/modules/bacula/manifests/storage.pp @@ -1,8 +1,12 @@ # the bacula storage node # # @param backup_path the directory where backups should be stored +# @param filestor_device Storage device name prefix +# @param filestor_name Storage device media type name prefix class bacula::storage ( - String $backup_path = '/srv/bacula', + String $backup_path = '/srv/bacula', + String $filestor_device = 'FileStorage', + String $filestor_name = 'File', ) inherits bacula { package { 'bacula-sd': ensure => installed @@ -77,5 +81,5 @@ class bacula::storage ( | EOF } - Bacula::Storage_per_node<<| |>> + Bacula::Storage::Client<<| tag == "bacula::to-storage::${::fqdn}" |>> }