diff options
author | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-26 04:21:32 +0100 |
---|---|---|
committer | Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | 2011-04-26 04:21:32 +0100 |
commit | 0e3c0385ef1553e6e613724a8b7f2a157481b172 (patch) | |
tree | 26a5c5fa9cd37ec3b7bcfe2d98630e5ecc94a085 | |
parent | c229a323a11c3d233eeac60754d1284464f2418b (diff) | |
download | puppet-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.rb | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 ... # |