X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fbacula%2Ftemplates%2Fbconsole.conf.erb;h=183dd531ddf8cc5a6fd96ddc55a401b0b0a11257;hb=ca25410452f06b508b95f5083035f1bb03c4e88b;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..183dd531d 100644 --- a/modules/bacula/templates/bconsole.conf.erb +++ b/modules/bacula/templates/bconsole.conf.erb @@ -7,8 +7,16 @@ # Director { - Name = <%= bacula_director_name %> + Name = <%= @bacula_director_name %> DIRport = 9101 - address = <%= bacula_director_address %> - Password = "<%= bacula_director_secret %>" + address = <%= @bacula_director_address %> + Password = "<%= @bacula_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 %>" }