]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/bacula/templates/bacula-sd.conf.erb
11e5b084b5b2a46d5a5e1d72235f4dd720877f09
[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
43 # To connect, the Director's bacula-dir.conf must have the
44 #  same Name and MediaType.
45 #
46 Device {
47   Name = <%= bacula_filestor_device %>
48   Media Type = <%= bacula_filestor_name %>
49   Archive Device = <%= bacula_backup_path %>
50   LabelMedia = yes;
51   Random Access = Yes;
52   AutomaticMount = yes;
53   RemovableMedia = no;
54   AlwaysOpen = no;
55   Maximum Network Buffer Size = 524288
56 }
57
58 # Send all messages to the Director,
59 # mount messages also are sent to the email address
60 #
61 Messages {
62   Name = Standard
63   director = <%= bacula_director_name %> = all
64 }