From: Krzysztof Wilczynski Date: Sat, 23 Apr 2011 01:55:08 +0000 (+0100) Subject: Fix. It is better to promote good practice... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4a57da669c19a972968b8a88e09058844a52ba64;p=puppet-stdlib.git Fix. It is better to promote good practice... Signed-off-by: Krzysztof Wilczynski --- diff --git a/load_variables.rb b/load_variables.rb index a5eb269..95dcc90 100644 --- a/load_variables.rb +++ b/load_variables.rb @@ -37,7 +37,7 @@ Given following content of the file data-host1.example.com.yaml: Then when we call load_variables like this: - load_variables("/etc/puppet/data-$fqdn.yaml") + load_variables("/etc/puppet/data-${fqdn}.yaml") This will result in a variable $foo being added and ready for use. EOS