Move bacula::bacula_ssl_{server,client}_{cert,key} to hiera
[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   <%= scope['bacula::bacula_tls_server_certificate'] %>
18   <%= scope['bacula::bacula_tls_server_key'] %>
19 }
20
21 # Send all messages except skipped files back to Director
22 Messages {
23   Name = <%= @messages_name %>
24   director = <%= @director_name %> = all, !skipped, !restored
25 }