puppet-sysctl icon indicating copy to clipboard operation
puppet-sysctl copied to clipboard

Puppet 8 Does not support legacy fact values

Open cvquesty opened this issue 2 years ago • 4 comments

When executing a puppet run on Puppet 8, Puppet no longer recognizes facts such as ::osfamily when executing a run. sysctl/manifests/params.pp line 4 is an example of this:

if ($::osfamily == 'RedHat' and

It should be migrated to the new fact values as follows:

if ($facts['os']['family'] == 'RedHat and

and so forth. I will try to put together some pull requests, but sysctl has become unusable on modern Puppet due to this breaking change.

cvquesty avatar Nov 02 '23 15:11 cvquesty

+1

jti-jzygmont avatar Dec 01 '23 19:12 jti-jzygmont

+1

KervyN avatar Feb 21 '24 10:02 KervyN

Any news on this?

lboclboc avatar Sep 12 '24 09:09 lboclboc