Split the director config coming from each node in two parts: one that comes from...
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index 9563749..8ea5859 100644 (file)
@@ -1,5 +1,6 @@
 # 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
@@ -10,6 +11,7 @@ class bacula::director(
   Integer $db_port,
   String  $db_name = 'bacula',
   String  $db_user = 'bacula',
+  String  $pool_name = 'bacula',
   Optional[String] $db_sslca = undef,
 ) inherits bacula {
 
@@ -67,7 +69,8 @@ class bacula::director(
     notify  => Exec['bacula-director reload']
   }
 
-  Bacula::Director::Client<<| tag == "bacula::to-director::${::fqdn}" |>>
+  Bacula::Director::Client             <<| tag == "bacula::to-director::${::fqdn}" |>>
+  Bacula::Director::Client_from_stroage<<| tag == "bacula::to-director::${::fqdn}" |>>
 
   package { 'bacula-console':
     ensure => installed;