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
8 Name = <%= @storage_name %>
10 # bacula, on Debian 9 (stretch), does not resolve a single name
11 # to both v4 and v6 addresses. Se we can't just say
12 # ip = { addr = <hostname> }. Boo.
15 # use the hostname rather than the IP address from LDAP,
16 # as /etc/hosts might have a better answer in case of natted hosts.
17 addr = <%= @storage_address %>
18 port = <%= @port_sd %>
23 addr = <%= @storage_address %>
24 port = <%= @port_sd %>
28 WorkingDirectory = "/var/lib/bacula"
29 Pid Directory = "/run/bacula"
30 Plugin Directory = "/usr/lib/bacula"
31 Maximum Concurrent Jobs = 21
32 Heartbeat Interval = 60
37 <%= scope['bacula::bacula_tls_ca_certificate_file'] %>
38 # This is a server certificate, used for incoming connections.
39 TLS Certificate = "<%= @bacula_ssl_server_cert %>"
40 TLS Key = "<%= @bacula_ssl_server_key %>"
43 @|"sh -c 'for f in /etc/bacula/storage-conf.d/*.conf ; do echo @${f} ; done'"