bacula: Initial version of module.
This commit is contained in:
parent
e7ae4fb55b
commit
4efe6bcd92
12 changed files with 651 additions and 0 deletions
34
bacula/templates/bacula-sd.conf.erb
Normal file
34
bacula/templates/bacula-sd.conf.erb
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
Storage {
|
||||
Name = "<%= @homename %>"
|
||||
WorkingDirectory = "/var/spool/bacula"
|
||||
Pid Directory = "/var/run"
|
||||
TLS Enable = yes
|
||||
TLS Require = yes
|
||||
TLS Key = /etc/pki/tls/private/bacula.key
|
||||
TLS Certificate = /etc/pki/tls/certs/bacula.crt
|
||||
TLS CA Certificate File = <%= @puppet_ssldir %>/certs/ca.pem
|
||||
TLS Verify Peer = yes
|
||||
}
|
||||
|
||||
Director {
|
||||
Name = "bacula-dir"
|
||||
Password = "<%= @password_real %>"
|
||||
TLS Enable = yes
|
||||
TLS Require = yes
|
||||
TLS Key = /etc/pki/tls/private/bacula.key
|
||||
TLS Certificate = /etc/pki/tls/certs/bacula.crt
|
||||
TLS CA Certificate File = <%= @puppet_ssldir %>/certs/ca.pem
|
||||
TLS Verify Peer = yes
|
||||
}
|
||||
|
||||
Messages {
|
||||
Name = "Standard"
|
||||
MailCommand = "mail -s \"Bacula Message\" %r"
|
||||
OperatorCommand = "mail -s \"Bacula Operator Message\" %r"
|
||||
mail = root = all, !skipped, !info
|
||||
operator = root = mount
|
||||
director = bacula-dir = all
|
||||
}
|
||||
|
||||
@|"sh -c 'find /etc/bacula/bacula-sd.d/*.conf -exec echo @{} \\;'"
|
Loading…
Add table
Add a link
Reference in a new issue