5a38e90250e8303a06ca7d97412607168bc93ba9
[mirror/dsa-puppet.git] / modules / bacula / templates / storage / sd-per-director.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ##
4
5 Director {
6   Name = <%= @director_name %>
7   Password = "<%= @dir_storage_secret %>"
8
9   TLS Enable = yes
10   TLS Require = yes
11   TLS Verify Peer = yes
12   TLS Allowed CN = "clientcerts/<%= @director_address %>"
13   <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
14   # This is a server certificate, used for incoming director connections.
15   TLS Certificate = "<%= scope['bacula::bacula_ssl_server_cert'] %>"
16   TLS Key = "<%= scope['bacula::bacula_ssl_server_key'] %>"
17 }
18
19 # Send all messages to the Director,
20 #
21 Messages {
22   Name = <%= @messages_name %>
23   director = <%= @director_name %> = all
24 }