apt::sources::debian::location:
merge: unique
-# class parameters
+# == class parameters
+#####################
resolv::nameservers: []
resolv::searchpaths: ['debian.org']
staticsync::user: 'staticsync'
staticsync::basedir: '/srv/static.debian.org'
exim::smarthost: 'mailout.debian.org'
postfix::smarthost: 'mailout.debian.org'
-
roles::dns_primary::allow_access:
# easydns
- '64.68.200.91'
- '194.146.105.25'
- '2a01:3f0:0:27::24'
- '2a01:3f0:0:28::25'
+# bacula
+#
+bacula::director::bacula_db_address: 'postgresql-manda-01.debian.org'
+bacula::director::bacula_db_port: 5432
+
-# other variables
+# == other variables
+#####################
allow_dns_query: []
role_config__mirrors:
mirror_basedir_prefix: '/srv/mirrors/'
# our bacula director
-class bacula::director inherits bacula {
+#
+# @param bacula_db_address hostname of the postgres server for the catalog DB
+# @param bacula_db_port port of the postgres server for the catalog DB
+class bacula::director(
+ String $bacula_db_address = 'postgresql-manda-01.debian.org',
+ Integer $bacula_db_port = 5432,
+) inherits bacula {
ensure_packages ( [
'bacula-director-pgsql',
String $bacula_storage_address = 'storace.debian.org',
Integer $bacula_storage_port = 9103,
Integer $bacula_client_port = 9102,
- String $bacula_db_address = 'danzi.debian.org',
- Integer $bacula_db_port = 5433,
String $bacula_backup_path = '/srv/bacula',
Catalog {
Name = MyCatalog
dbname = bacula;
- dbport = 5432;
- dbaddress = postgresql-manda-01.debian.org;
+ dbport = <%= @bacula_db_port %>;
+ dbaddress = <%= @bacula_db_address %>;
dbsslmode = verify-ca;
dbsslca = /etc/ssl/debian/certs/ca.crt;
dbuser = "bacula";