Move bacula::bacula_ssl_ca_path to hiera
[mirror/dsa-puppet.git] / modules / bacula / templates / director / dir-per-client.erb
index 713bc3e..5ee2d0e 100644 (file)
@@ -28,13 +28,13 @@ Client {
   FDPort = <%= @port_fd %>
   Catalog = MyCatalog
   Password = "<%= @client_secret %>"
-  File Retention = 30 days
-  Job Retention = 3 months
+  File Retention = <%= @file_retention %>
+  Job Retention = <%= @job_retention %>
   AutoPrune = yes
 
   TLS Enable = yes
   TLS Require = yes
-  TLS CA Certificate File = "<%= @bacula_ca_path %>"
+  <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
   # This is a client certificate, used by the director to connect to the client's file daemon
   TLS Certificate = "<%= @bacula_ssl_client_cert %>"
   TLS Key = "<%= @bacula_ssl_client_key %>"