start with moving director name to a more local thing
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index a1a4e94..bb6901d 100644 (file)
@@ -1,12 +1,13 @@
 # our bacula director
 #
-# @param pool_name  A string to be used in pool names
-# @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 port_dir   Port that the director should listen on
-# @param db_sslca   SSL CA store for DB access
+# @param pool_name      A token to be used in pool names
+# @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 port_dir       Port that the director should listen on
+# @param db_sslca       SSL CA store for DB access
+# @param director_name  bacula name of this dir instance
 class bacula::director(
   String  $db_address,
   Integer $db_port,
@@ -15,6 +16,8 @@ class bacula::director(
   String  $pool_name = 'bacula',
   Integer $port_dir = 9101,
   Optional[String] $db_sslca = undef,
+  #String $storage_name    = "${::fqdn}-dir",
+  String $director_name = $bacula::bacula_director_name,
 ) inherits bacula {
 
   # used by e.g. bconsole