Skip to content

Warning: Facter: Unable to getenv for pid 1, 'uninitialized constant Facter::Util::Linux' #9451

Closed
@Q1tum

Description

@Q1tum

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:

  1. Run puppet agent -t or puppet facts on client where the agent is installed.

Environment

  • Version puppet7-7.32.1
  • Platform FreeBSD

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions