]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/bacula/templates/bacula-sd.conf.erb
soler: decomission rt#5890
[dsa-puppet.git] / modules / bacula / templates / bacula-sd.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 Storage {
8   Name = <%= bacula_storage_name %>
9   SDPort = <%= bacula_storage_port %>
10   WorkingDirectory = "/var/lib/bacula"
11   Pid Directory = "/var/run/bacula"
12   Maximum Concurrent Jobs = 21
13   SDAddress = <%= bacula_storage_address %>
14   Heartbeat Interval = 180
15
16   TLS Enable = yes
17   TLS Require = yes
18   TLS Verify Peer = yes
19   # TLS Allowed CN = "clientcerts/<%= bacula_director_address %>"
20   TLS CA Certificate File = "<%= bacula_ca_path %>"
21   # This is a server certificate, used for incoming connections.
22   TLS Certificate = "<%= bacula_ssl_server_cert %>"
23   TLS Key = "<%= bacula_ssl_server_key %>"
24 }
25
26 # List Directors who are permitted to contact Storage daemon
27 #
28 Director {
29   Name = <%= bacula_director_name %>
30   Password = "<%= bacula_storage_secret %>"
31
32   TLS Enable = yes
33   TLS Require = yes
34   TLS Verify Peer = yes
35   TLS Allowed CN = "clientcerts/<%= bacula_director_address %>"
36   TLS CA Certificate File = "<%= bacula_ca_path %>"
37   # This is a server certificate, used for incoming director connections.
38   TLS Certificate = "<%= bacula_ssl_server_cert %>"
39   TLS Key = "<%= bacula_ssl_server_key %>"
40 }
41
42 # Send all messages to the Director,
43 # mount messages also are sent to the email address
44 #
45 Messages {
46   Name = Standard
47   director = <%= bacula_director_name %> = all
48 }
49
50 Device {
51   Name = "<%= bacula_filestor_device %>-catalog"
52   Media Type = "<%= bacula_filestor_name %>-catalog"
53   Archive Device = "<%= bacula_backup_path %>/Catalog"
54   LabelMedia = yes;
55   Random Access = Yes;
56   AutomaticMount = yes;
57   RemovableMedia = no;
58   AlwaysOpen = no;
59 }
60
61 @|"sh -c 'for f in /etc/bacula/storage-conf.d/*.conf ; do echo @${f} ; done'"