From a78cdf21b1789122481561012b008d5b701baaa3 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Tue, 31 Jan 2012 15:46:33 -0800 Subject: [PATCH] (#12345) hiera enabled function for stdlib removing extraneous code that was commented out --- lib/puppet/parser/functions/hiera_enabled.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/puppet/parser/functions/hiera_enabled.rb b/lib/puppet/parser/functions/hiera_enabled.rb index 168bf3934..99efe6b68 100644 --- a/lib/puppet/parser/functions/hiera_enabled.rb +++ b/lib/puppet/parser/functions/hiera_enabled.rb @@ -1,12 +1,5 @@ module Puppet::Parser::Functions newfunction(:hiera_enabled, :type => :rvalue ) do - # begin - # require 'hiera' - # true if Puppet::Parser::Functions.function 'hiera' - # rescue LoadError => e - # false - # end - #true if Puppet.features.hiera? if Puppet.features.hiera? and Puppet::Parser::Functions.function(:hiera) true else