And also make database name, user, and ssl ca path parameters
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index daa0d6b..cb7afc3 100644 (file)
@@ -1,10 +1,16 @@
 # our bacula director
 #
-# @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
+# @param db_address hostname of the postgres server for the catalog DB
+# @param db_port    port of the postgres server for the catalog DB
+# @param db_name    DB name for the catalog DB
+# @param db_user    username for the postgres server for the catalog DB
+# @param db_sslca   SSL CA store for DB access
 class bacula::director(
-  String  $bacula_db_address = 'postgresql-manda-01.debian.org',
-  Integer $bacula_db_port    = 5432,
+  String  $db_address,
+  Integer $db_port,
+  String  $db_name = 'bacula',
+  String  $db_user = 'bacula',
+  Optional[String] $db_sslca = undef,
 ) inherits bacula {
 
   ensure_packages ( [