From 4a57da669c19a972968b8a88e09058844a52ba64 Mon Sep 17 00:00:00 2001 From: Krzysztof Wilczynski Date: Sat, 23 Apr 2011 02:55:08 +0100 Subject: [PATCH] Fix. It is better to promote good practice... Signed-off-by: Krzysztof Wilczynski --- load_variables.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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