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
5 # For Bacula release 5.0.1 (24 February 2010) -- debian 5.0.4
7 # List Directors who are permitted to contact this File daemon
9 Name = <%= @bacula_director_name %>
10 Password = "<%= @bacula_client_secret %>"
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 %>"
22 # "Global" File daemon configuration specifications
24 Name = <%= @bacula_client_name %>
26 # bacula, on Debian 9 (stretch), does not resolve a single name
27 # to both v4 and v6 addresses. Se we can't just say
28 # ip = { addr = <hostname> }. Boo.
29 <%- if scope.lookupvar('deprecated::nodeinfo')['misc']['has_v4_ldap'] -%>
31 # use the hostname rather than the IP address from LDAP,
32 # as /etc/hosts might have a better answer in case of natted hosts.
34 port = <%= @bacula_client_port %>
37 <%- scope.lookupvar('deprecated::nodeinfo')['misc']['v6_ldap'].each do |addr| -%>
40 port = <%= @bacula_client_port %>
44 WorkingDirectory = /var/lib/bacula
45 <%- if scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0 -%>
46 Pid Directory = /var/run/bacula
48 Pid Directory = /run/bacula
49 Plugin Directory = /usr/lib/bacula
51 Maximum Concurrent Jobs = 20
52 #Maximum Network Buffer Size = 524288
56 TLS CA Certificate File = "<%= @bacula_ca_path %>"
57 # This is a client certificate, used by the client to connect to the storage daemon
58 TLS Certificate = "<%= @bacula_ssl_client_cert %>"
59 TLS Key = "<%= @bacula_ssl_client_key %>"
61 <%- if scope.lookupvar('deprecated::nodeinfo')['hoster']['name'] == "brown" -%>
63 Heartbeat Interval = 60
67 # Send all messages except skipped files back to Director
70 director = <%= @bacula_director_name %> = all, !skipped, !restored