X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fstorage-per-client.conf.erb;h=bd7a6781d6bd20942c85c6e326e84a012dc4a789;hb=710c80f43aed35f4c0f061274b525ae422392975;hp=fa521beae81c7cd6d1cb6359e5449e46b3dce59b;hpb=e0f7c305e90874eeb0cda965f818ad9143ec9871;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/storage-per-client.conf.erb b/modules/bacula/templates/storage-per-client.conf.erb index fa521beae..bd7a6781d 100644 --- a/modules/bacula/templates/storage-per-client.conf.erb +++ b/modules/bacula/templates/storage-per-client.conf.erb @@ -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 }