defaults for db_address, db_port; move dbsslmode = verify-ca into the case where...
[mirror/dsa-puppet.git] / modules / bacula / manifests / director.pp
index 486df2e..93e38d8 100644 (file)
@@ -12,8 +12,8 @@
 # @param director_address  address of this dir instance that other instances should connect to (dns name)
 # @param messages_name   name of the Messages Resource
 class bacula::director(
-  String  $db_address,
-  Integer $db_port,
+  String  $db_address = 'localhost',
+  Integer $db_port = 5432,
   String  $db_name = 'bacula',
   String  $db_user = 'bacula',
   String  $db_password = hkdf('/etc/puppet/secret', "bacula-db-${::hostname}"),
@@ -148,11 +148,7 @@ class bacula::director(
   }
 
   concat { $bacula::bacula_dsa_client_list:
-  }
-  concat::fragment { 'bacula-dsa-client-list::header' :
-    target  => $bacula::bacula_dsa_client_list,
-    content => '',
-    order   => '00',
+    ensure_newline => true,
   }
   Concat::Fragment <<| tag == $bacula::tag_bacula_dsa_client_list |>>