Make bacula_director_port something local to the director class
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index c868398..c1f6c38 100644 (file)
@@ -5,6 +5,7 @@
 # @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
 class bacula::director(
   String  $db_address,
@@ -12,6 +13,7 @@ class bacula::director(
   String  $db_name = 'bacula',
   String  $db_user = 'bacula',
   String  $pool_name = 'bacula',
+  Integer $port_dir = 9101,
   Optional[String] $db_sslca = undef,
 ) inherits bacula {