From: Peter Palfrader Date: Mon, 20 Mar 2017 17:42:28 +0000 (+0000) Subject: fix storage-per-client.conf template X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=c5ada1a6cf21cdb8c971475e3df586a8d2e849f6;p=mirror%2Fdsa-puppet.git fix storage-per-client.conf template --- diff --git a/modules/bacula/templates/storage-per-client.conf.erb b/modules/bacula/templates/storage-per-client.conf.erb index fa521beae..6403bea26 100644 --- a/modules/bacula/templates/storage-per-client.conf.erb +++ b/modules/bacula/templates/storage-per-client.conf.erb @@ -4,9 +4,9 @@ ## 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 = "<%= @bacula_backup_path %>/<%= @client %>" LabelMedia = yes; Random Access = Yes; AutomaticMount = yes;