lib/puppet/parser/functions/fail.rb in puppet-0.25.5 vs lib/puppet/parser/functions/fail.rb in puppet-2.6.0

- old
+ new

@@ -1,4 +1,4 @@ Puppet::Parser::Functions::newfunction(:fail, :doc => "Fail with a parse error.") do |vals| - vals = vals.collect { |s| s.to_s }.join(" ") if vals.is_a? Array - raise Puppet::ParseError, vals.to_s + vals = vals.collect { |s| s.to_s }.join(" ") if vals.is_a? Array + raise Puppet::ParseError, vals.to_s end