-
Notifications
You must be signed in to change notification settings - Fork 290
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
json providers can not "unset" properties #394
Comments
|
This is an issue with puppet 3.x where it is not able to determine an "unset" value in a type/provider since prior to puppet 4 there wasn't a true undefined type. Are you running 3.x nodes? |
|
I've been whining about problems with |
|
While I am running puppet 4 I haven't actually verified it. |
|
@jhoblitt have you tested this under 4.x (or future parser)? Any results you can share? |
|
Let me know if you're still seeing this issue under 4.x as well. |
Consider the following
sensu_checkresource declarationwhich should generate a check json file similar to:
If on a successive run, the
handlersparam is removed or set to 'undef'. e.g.:the handlers property is treated as unmanaged and the providers mutator method is never invoked. This essentially means that manual editing or deletion of the configuration tree is the only way to unset previously set values.
Would it be reasonable to add a param to all of the json config generator types to have the provider purge unmanaged properties?
The text was updated successfully, but these errors were encountered: