Enclose variable names in {}
authorPeter Palfrader <peter@palfrader.org>
Tue, 24 Sep 2019 08:00:01 +0000 (10:00 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 24 Sep 2019 08:00:01 +0000 (10:00 +0200)
modules/bacula/manifests/node.pp

index ee3b8af..38ce305 100644 (file)
@@ -31,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']