summaryrefslogtreecommitdiffstats
path: root/lib/puppet/fact.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/fact.rb')
-rw-r--r--lib/puppet/fact.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/puppet/fact.rb b/lib/puppet/fact.rb
index c9707de4f..f17131d02 100644
--- a/lib/puppet/fact.rb
+++ b/lib/puppet/fact.rb
@@ -16,11 +16,9 @@ module Puppet
class Fact
def Fact.[](name)
fact = Facter[name]
- Puppet.debug "Got fact of type %s" % fact.class
if fact.value.nil?
raise "Could not retrieve fact %s" % name
end
- Puppet.debug("fact: got %s from %s for %s" % [fact.value,fact,name])
return fact.value
end