diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-23 02:55:08 +0100 |
---|---|---|
committer | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-23 02:55:08 +0100 |
commit | 4a57da669c19a972968b8a88e09058844a52ba64 (patch) | |
tree | aa5dba5ae4a77542d46de1f3d4f4c09ca3efd7fc /load_variables.rb | |
parent | 0b1aab2ed584aa79c14531e5c3d1b0c8a6c00511 (diff) | |
download | puppet-stdlib-4a57da669c19a972968b8a88e09058844a52ba64.tar.gz puppet-stdlib-4a57da669c19a972968b8a88e09058844a52ba64.tar.bz2 |
Fix. It is better to promote good practice...
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Diffstat (limited to 'load_variables.rb')
-rw-r--r-- | load_variables.rb | 2 |
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 |