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. |
alexjfisher
left a comment
There was a problem hiding this comment.
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.