Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puppet 8 Does not support legacy fact values #80

Open
cvquesty opened this issue Nov 2, 2023 · 4 comments
Open

Puppet 8 Does not support legacy fact values #80

cvquesty opened this issue Nov 2, 2023 · 4 comments

Comments

@cvquesty
Copy link

cvquesty commented Nov 2, 2023

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.

@jti-jzygmont
Copy link

+1

1 similar comment
@KervyN
Copy link

KervyN commented Feb 21, 2024

+1

@lboclboc
Copy link

Any news on this?

@nebakke
Copy link

nebakke commented Oct 11, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants