backup-path should be something that only the storage system should need to care...
[mirror/dsa-puppet.git] / modules / bacula / templates / storage-per-client.conf.erb
index 2ce1071..bd7a678 100644 (file)
@@ -4,13 +4,12 @@
 ##
 
 Device {
-  Name = "<%= bacula_filestor_device %>-<%= client %>"
-  Media Type = "<%= bacula_filestor_name %>-<%= client %>"
-  Archive Device = "<%= bacula_backup_path %>/<%= client %>"
+  Name = "<%= @bacula_filestor_device %>-<%= @client %>"
+  Media Type = "<%= @bacula_filestor_name %>-<%= @client %>"
+  Archive Device = "<%= scope['bacula::storage::backup_path'] %>/<%= @client %>"
   LabelMedia = yes;
   Random Access = Yes;
   AutomaticMount = yes;
   RemovableMedia = no;
   AlwaysOpen = no;
-  Maximum Network Buffer Size = 524288
 }