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 # "Global" File daemon configuration specifications
9 Name = <%= @client_name %>
11 # bacula, on Debian 9 (stretch), does not resolve a single name
12 # to both v4 and v6 addresses. Se we can't just say
13 # ip = { addr = <hostname> }. Boo.
16 # use the hostname rather than the IP address from LDAP,
17 # as /etc/hosts might have a better answer in case of natted hosts.
19 port = <%= @port_fd %>
25 port = <%= @port_fd %>
29 WorkingDirectory = /var/lib/bacula
30 <%- if scope.call_function('versioncmp', [@lsbmajdistrelease, '8']) <= 0 -%>
31 Pid Directory = /var/run/bacula
33 Pid Directory = /run/bacula
34 Plugin Directory = /usr/lib/bacula
36 Maximum Concurrent Jobs = 20
40 <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
41 <%= scope['bacula::bacula_tls_client_certificate'] %>
42 <%= scope['bacula::bacula_tls_client_key'] %>
44 Heartbeat Interval = 60
47 @|"sh -c 'for f in /etc/bacula/fd-conf.d/*.conf ; do echo @${f} ; done'"