From 0e3c0385ef1553e6e613724a8b7f2a157481b172 Mon Sep 17 00:00:00 2001 From: Krzysztof Wilczynski Date: Tue, 26 Apr 2011 04:21:32 +0100 Subject: 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 --- fact.rb | 1 - 1 file changed, 1 deletion(-) 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 ... # -- cgit v1.2.3