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
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.
The text was updated successfully, but these errors were encountered:
I've put a couple of comments in the PRs as well, forked the module and republished as purplejac/sysctl on the forge. I can always deprecate it out again if Thias comes back. There were already PRs for Puppet 8 and the sysctl spacing there, should work.
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:
It should be migrated to the new fact values as follows:
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.
The text was updated successfully, but these errors were encountered: