X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbconsole.conf.erb;h=6f91306cfa169ad096bf5fa590de11619e43847d;hb=6680306de7b2f9911a4da12b8484d3431056ea53;hp=f5bb2e64f40375f51194e2b67f1183c1a78d8d4f;hpb=a1651904682381906e07507601bda4dd732f58ff;p=mirror%2Fdsa-puppet.git diff --git a/modules/bacula/templates/bconsole.conf.erb b/modules/bacula/templates/bconsole.conf.erb index f5bb2e64f..6f91306cf 100644 --- a/modules/bacula/templates/bconsole.conf.erb +++ b/modules/bacula/templates/bconsole.conf.erb @@ -7,8 +7,15 @@ # Director { - Name = <%= bacula_director_name %> - DIRport = 9101 - address = <%= bacula_director_address %> - Password = "<%= bacula_director_secret %>" + Name = <%= @director_name %> + DIRport = <%= @port_dir %> + address = <%= @director_address %> + Password = "<%= @director_secret %>" + + TLS Enable = yes + TLS Require = yes + + <%= scope['bacula::bacula_tls_ca_certificate_file'] %> + <%= scope['bacula::bacula_tls_client_certificate'] %> + <%= scope['bacula::bacula_tls_client_key'] %> }