summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-04-26 04:21:32 +0100
committerKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>2011-04-26 04:21:32 +0100
commit0e3c0385ef1553e6e613724a8b7f2a157481b172 (patch)
tree26a5c5fa9cd37ec3b7bcfe2d98630e5ecc94a085
parentc229a323a11c3d233eeac60754d1284464f2418b (diff)
downloadpuppet-stdlib-0e3c0385ef1553e6e613724a8b7f2a157481b172.tar.gz
puppet-stdlib-0e3c0385ef1553e6e613724a8b7f2a157481b172.tar.bz2
Removing string interpolation from fact.rb. I am not sure whether
we should fiddle with this. The old behaviour e.g. evaluate when inside "" and don't do anything when inside '' is probably better choice in the end as people are used to it working that way. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
-rw-r--r--fact.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/fact.rb b/fact.rb
index 6e66ba6..0c24867 100644
--- a/fact.rb
+++ b/fact.rb
@@ -15,7 +15,6 @@ module Puppet::Parser::Functions
raise(Puppet::ParseError, 'fact(): You must provide ' +
'fact name') if fact.empty?
- fact = strinterp(fact) # Evaluate any interpolated variable names ...
result = lookupvar(fact) # Get the value of interest from Facter ...
#