You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7
Ruby:
Distribution: CentOS 7
Module version: 0.13
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 and facter -p are no longer supported, use puppet 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:
if [ $(puppet --version|cut -d. -f1)-gt 5 ];then
....
fi
with the problem being, puppet facts throws a json or yaml objest instead of the value
The text was updated successfully, but these errors were encountered:
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 valueThe text was updated successfully, but these errors were encountered: