Move bacula::bacula_ssl_{server,client}_{cert,key} to hiera
[mirror/dsa-puppet.git] / modules / bacula / templates / director / dir-per-client-from-storage.erb
index 7a5b433..70e87e4 100644 (file)
@@ -20,9 +20,8 @@ Storage {
   TLS Enable = yes
   TLS Require = yes
   <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
-  # This is a client certificate, used by the director to connect to the storage daemon
-  TLS Certificate = "<%= @bacula_ssl_client_cert %>"
-  TLS Key = "<%= @bacula_ssl_client_key %>"
+  <%= scope['bacula::bacula_tls_client_certificate'] %>
+  <%= scope['bacula::bacula_tls_client_key'] %>
 }
 
 ########################################################################