2f8d46f5301d34355344da695a9c567a8657cef8
[mirror/dsa-puppet.git] / modules / bacula / templates / client / fd-per-director.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5 #  For Bacula release 5.0.1 (24 February 2010) -- debian 5.0.4
6
7 # List Directors who are permitted to contact this File daemon
8 Director {
9   Name = <%= @director_name %>
10   Password = "<%= @dir_client_secret %>"
11
12   TLS Enable = yes
13   TLS Require = yes
14   TLS Verify Peer = yes
15   TLS Allowed CN = "clientcerts/<%= @director_address %>"
16   <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
17   # This is a server certificate, used for incoming director connections.
18   TLS Certificate = "<%= scope['bacula::bacula_ssl_server_cert'] %>"
19   TLS Key = "<%= scope['bacula::bacula_ssl_server_key'] %>"
20 }
21
22 # Send all messages except skipped files back to Director
23 Messages {
24   Name = <%= @messages_name %>
25   director = <%= @director_name %> = all, !skipped, !restored
26 }