summaryrefslogtreecommitdiff
path: root/load_variables.rb
diff options
context:
space:
mode:
Diffstat (limited to 'load_variables.rb')
-rw-r--r--load_variables.rb2
1 files changed, 1 insertions, 1 deletions
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