Skip to content

Commit d2e4c4a

Browse files
committed
Remove debug messages
1 parent d2c2304 commit d2e4c4a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

puppet/lib/puppet/indirector/facts/puppetdb.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ def get_trusted_info(node)
1818

1919
def filter_facts(obj, blacklist, blacklist_regexps, path = [])
2020
regexps = blacklist_regexps.map { |re| Regexp.new(re) }
21-
Puppet.warning("Received obj with values: #{obj.inspect}")
2221
case obj
2322
when Hash
2423
obj.each_with_object({}) do |(k, v), h|
2524
full_path = (path + [k]).join('.')
2625
excluded = blacklist.include?(full_path) || regexps.any? { |re| full_path =~ re }
27-
Puppet.warning("Fact filter: checking '#{full_path}'#{excluded ? ' [EXCLUDED]' : ''}")
2826
next if excluded
2927
h[k] = filter_facts(v, blacklist, blacklist_regexps, path + [k])
3028
end

0 commit comments

Comments
 (0)