Closed maxadamo closed 3 years ago
Ooops, looks like the tasks aren't working due to changes to the output of puppet facts
. Reopening while I look into it.
Moved all of the facter
stuff over to use the native ruby facter integration. Just testing that now but it looks good on Puppet 7.
Testing complete, merging.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
just use puppet 7 and the cron, will send an email to root with the warning below.
What are you seeing
[2021-01-19 12:21:08.897275 ] WARN Facter::Cli -
facter --puppet
andfacter -p
are no longer supported, usepuppet facts show
instead [2021-01-19 12:21:08.897321 ] WARN Facter::Cli - the output does not contain puppet facts!Any additional information you'd like to impart
I wonder if
puppet facts show
is backward compatible, or you may need to run something as following:with the problem being,
puppet facts
throws a json or yaml objest instead of the value