Move filestore device and media type name to the storage, part I
[mirror/dsa-puppet.git] / modules / bacula / manifests / storage.pp
index 34bd649..c2b6886 100644 (file)
@@ -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}" |>>
 }