Move filestore device and media type name to the storage, part I
[mirror/dsa-puppet.git] / modules / bacula / manifests / node.pp
index dfa486f..38ce305 100644 (file)
@@ -5,7 +5,6 @@
 # @param port_fd   port that this node's bacula-fd is listening on
 define bacula::node (
   Integer $port_fd = 9102,
-  Integer $bacula_client_port = 9102,
 ) {
   include bacula
 
@@ -32,7 +31,7 @@ define bacula::node (
   }
 
   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']