manage pg_hba on melartin
[mirror/dsa-puppet.git] / modules / bacula / templates / bconsole.conf.erb
index 74f9706..6f91306 100644 (file)
@@ -9,14 +9,13 @@
 Director {
   Name = <%= @director_name %>
   DIRport = <%= @port_dir %>
-  address = <%= @bacula_director_address %>
+  address = <%= @director_address %>
   Password = "<%= @director_secret %>"
 
   TLS Enable = yes
   TLS Require = yes
 
-  TLS CA Certificate File = "<%= @bacula_ca_path %>"
-  # This is a client certificate, used for console connections to the director.
-  TLS Certificate = "<%= @bacula_ssl_client_cert %>"
-  TLS Key = "<%= @bacula_ssl_client_key %>"
+  <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
+  <%= scope['bacula::bacula_tls_client_certificate'] %>
+  <%= scope['bacula::bacula_tls_client_key'] %>
 }