class bacula (
String $bacula_operator_email = 'bacula-reports@admin.debian.org',
String $bacula_director_name = 'debian-dir',
- String $bacula_monitor_name = 'debian-mon',
String $bacula_director_address = 'dinis.debian.org',
String $bacula_storage_address = 'storace.debian.org',
String $bacula_db_secret = hkdf('/etc/puppet/secret', "bacula-db-${::hostname}"),
- String $bacula_monitor_secret = hkdf('/etc/puppet/secret', "bacula-monitor-${bacula_director_name}"),
String $bacula_ca_path = '/etc/ssl/debian/certs/ca.crt',
String $bacula_ssl_client_cert = '/etc/ssl/debian/certs/thishost.crt',
append = "/var/lib/bacula/log" = all
}
-########################################################################
-# Console, limited #
-########################################################################
-Console {
- Name = <%= @bacula_monitor_name %>
- Password = "<%= @bacula_monitor_secret %>"
- CommandACL = status, .status
-}
-
########################################################################
# Jobdefinitions with defaults and stuff #
########################################################################