-
Notifications
You must be signed in to change notification settings - Fork 229
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
Handle the pluginsync setting deprecation #683
Conversation
In Puppet 4 the pluginsync setting was deprecated. At least in Puppet 5 it generates a deprecation warning and in Puppet 6 it was removed. Because the default was already true, we only emit it if it's non-default to avoid the deprecation warning. In Puppet 6 we can detect an invalid setting so we hard fail.
I'm fine with this as-is but asking myself if it would be good to dump a |
The reason I noticed this was because I saw this in my logs:
|
@ekohl So this is only visible in the logfile? Or also in the Puppet Report in Foreman (I tihnk a puppet |
That's from syslog, not the puppet report. I can see about that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might even be tempted to rip it out altogether and see if anyone screams. The setting having been deprecated for so long, I'd be surprised, (and interested), if anyone is actively setting it to false
.
@mmoll do you think including this in a patch release is good enough? In the next major version drop it. |
@ekohl sure, let's do this... We'll drop Ubuntu/trusty and Puppet 4.x in the next round of module releases anyway, I presume... |
merged, bedankt @ekohl! |
In Puppet 4 the pluginsync setting was deprecated. At least in Puppet 5 it generates a deprecation warning and in Puppet 6 it was removed. Because the default was already true, we only emit it if it's non-default to avoid the deprecation warning. In Puppet 6 we can detect an invalid setting so we hard fail.