-# 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,
+) {
include bacula
$bacula_pool_name = $bacula::bacula_pool_name
}
file { "/etc/bacula/storages-list.d/${name}.storage":
- content => "$bacula::bacula_filestor_name-$client\n",
+ content => "${bacula::bacula_filestor_name}-${client}\n",
mode => '0440',
group => bacula,
notify => Exec['bacula-director reload']