Try to move bacula fd port config to the client class
[mirror/dsa-puppet.git] / modules / bacula / manifests / node.pp
index 6a704b2..05f96fc 100644 (file)
@@ -1,5 +1,12 @@
-# a bacula node.  This is stored config by a client, collected on the director
-define bacula::node($bacula_client_port = $bacula::bacula_client_port) {
+# Bacula client config on the director
+#
+# This is stored config by a client, collected on the director
+#
+# @param port_fd   port that this node's bacula-fd is listening on
+define bacula::node (
+  Integer $port_fd = 9102,
+  Integer $bacula_client_port = $bacula::bacula_client_port
+) {
   include bacula
 
   $bacula_pool_name         = $bacula::bacula_pool_name