Closed
Description
Describe the Bug
puppet facts gives warning before json output:
server01 ~ $ puppet facts
Warning: Facter: Unable to getenv for pid 1, 'uninitialized constant Facter::Util::Linux'
{
"agent_specified_environment": "production",
"augeas": {
"version": "1.14.0"
},
}
Expected Behavior
No warning should be given when running puppet agent -t
or puppet facts
Steps to Reproduce
Steps to reproduce the behavior:
- Run
puppet agent -t
orpuppet facts
on client where the agent is installed.
Environment
- Version puppet7-7.32.1
- Platform FreeBSD