Move bacula::bacula_ssl_{server,client}_{cert,key} to hiera
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-fd.conf.erb
index 14d9964..6f930d5 100644 (file)
@@ -38,9 +38,8 @@ FileDaemon {
   TLS Enable = yes
   TLS Require = yes
   <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
-  # This is a client certificate, used by the client 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'] %>
 
   Heartbeat Interval = 60
 }