Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
FACT 3.1.0
-
None
-
None
-
2
-
Client 2015-10-28
-
Bug Fix
-
Description
The change for FACT-750 introduced pluggable logging, which is used by puppet/master currently. As an unintended side effect facter --puppet ends up giving puppet a chance to register its default loggers, but they do nothing when run as facter. The net result is that no facter debug/warning output is seen on the command line.
The fix might be to deregister puppet's handlers forcibly after the require 'puppet' when facter is handling --puppet.
Otoh, facter --puppet is going to be deprecated in facter 3, per FACT-96, so the lifetime of this bug should be short regardless.