-
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
The sensu purge_config option now removes rpm deployed plugins #304
Comments
|
I didn't notice purge was added to plugins as well, I agree that shouldn't have been there. I was afraid getting lots of various purge_* settings which would cause more confusion than benefit. What's your thought of just pulling the purge off of the plugins dir? Or is reverting to multiple purge settings desired? With multiple, should we go all the way and add a purge config setting for each managed directory (or maybe an array of directories to purge?) |
|
The original PR states that the change will remove plugins, so I'm not surprised this happened. I think the original requester, @nhinds, even stated that purge_config seems to him to be more for JSON configuration. We use the puppet module to manage the JSON, but we manage the code (plugins, handlers, extensions) separately using RPM's we deploy. I think adding separate options (purge_plugin) and setting them to false by default should be sufficient. |
|
Separate options for each ( Alternatively we could migrate to a single enum-like setting, e.g. |
|
I think what @nhinds recommends is the best way forward |
|
I am unfussed. |
|
This was reverted (and re-added as a separate parameter) |
The change in #302 has broken a use case in which we deploy the plugins separately via an RPM. The original change in that PR called for a separate config value which I personally believe is the right way to go - config and plugins can often be managed separately and this change means this is now not possible.
The text was updated successfully, but these errors were encountered: