3597a0c786586f629c3599730f0483285542fb24
[mirror/dsa-puppet.git] / modules / bacula / templates / bacula-fd.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 = <%= bacula_director_name %>
10   Password = "<%= bacula_client_secret %>"
11
12   TLS Enable = yes
13   TLS Require = yes
14   TLS Verify Peer = yes
15   TLS Allowed CN = "clientcerts/<%= bacula_director_address %>"
16   TLS CA Certificate File = "<%= bacula_ca_path %>"
17   # This is a server certificate, used for incoming director connections.
18   TLS Certificate = "<%= bacula_ssl_server_cert %>"
19   TLS Key = "<%= bacula_ssl_server_key %>"
20 }
21
22 # "Global" File daemon configuration specifications
23 FileDaemon {
24   Name = <%= bacula_client_name %>
25   FDport = <%= bacula_client_port %>
26   WorkingDirectory = /var/lib/bacula
27   Pid Directory = /var/run/bacula
28   Maximum Concurrent Jobs = 20
29   FDAddress = <%= fqdn %>
30   #Maximum Network Buffer Size = 524288
31
32   TLS Enable = yes
33   TLS Require = yes
34   TLS CA Certificate File = "<%= bacula_ca_path %>"
35   # This is a client certificate, used by the client to connect to the storage daemon
36   TLS Certificate = "<%= bacula_ssl_client_cert %>"
37   TLS Key = "<%= bacula_ssl_client_key %>"
38
39 <%- if scope.lookupvar('site::nodeinfo')['hoster']['name'] == "brown" -%>
40   # broken firewall
41   Heartbeat Interval = 300
42 <%- end -%>
43 }
44
45 # Send all messages except skipped files back to Director
46 Messages {
47   Name = Standard
48   director = <%=bacula_director_name%> = all, !skipped, !restored
49 }