The cause for your issues is that there's code before the setcode do line,
which will cause issues under Facter 4.
Having code before setcode do was a bad coding practice but didn't break
things in Facter 3. In Facter 4, it does break things.
If you move the
The release contains new features, minor enhancements, and bug fixes
including:
Agent 6.26.0
-
Support for trusted facts with the puppet lookup command
-
Added support for Red Hat Enterprise Linux 9 Beta (x86_64)
-
Added support for Windows Server 2022(x86_64).
PuppetDB
The release contains new features, minor enhancements, and bug fixes
including:
Agent 6.26.0
-
Changed the priority of the --environment option by skipping the
classification whenever the flag is specified. This allows the user to
bypass the ENC enforced environment with the CLI
The next release in the Puppet 7 series, Puppet 7.14.0, is now available!
The release contains enhancements and vulnerability fixes, including:
Agent 7.14.0
-
Support for RHEL 9.
-
Upgraded Ruby component to 2.7.5.
Server 7.6.0
-
Puppet Server is now packaged for
The next release in the Puppet 7 series, Puppet 7.14.0, is now available!
The release contains enhancements and vulnerability fixes, including:
Agent 7.14.0
-
Added support for trusted facts with the puppet lookup command
-
Added support for Red Hat Enterprise Linux 9 Beta