X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbacula-sd.conf.erb;h=370c281501869cb82cc5eb51ecd151d2bfbf3c3d;hb=82858a7527e77d5b2605845afbfef9d5c38effb8;hp=76bda9e2ae306df4047a8b16e473d1603844ff99;hpb=a71546a712323043fe4d725037df00e18db57e36;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bacula-sd.conf.erb b/modules/bacula/templates/bacula-sd.conf.erb index 76bda9e2a..370c28150 100644 --- a/modules/bacula/templates/bacula-sd.conf.erb +++ b/modules/bacula/templates/bacula-sd.conf.erb @@ -34,10 +34,9 @@ Storage { TLS Enable = yes TLS Require = yes TLS Verify Peer = yes - TLS CA Certificate File = "<%= @bacula_ssl_ca_path %>" - # This is a server certificate, used for incoming connections. - TLS Certificate = "<%= @bacula_ssl_server_cert %>" - TLS Key = "<%= @bacula_ssl_server_key %>" + <%= scope['bacula::bacula_tls_ca_certificate_file'] %> + <%= scope['bacula::bacula_tls_server_certificate'] %> + <%= scope['bacula::bacula_tls_server_key'] %> } @|"sh -c 'for f in /etc/bacula/storage-conf.d/*.conf ; do echo @${f} ; done'"