Open Daren-J-Smith opened 5 years ago
I think we'd need some more information about what the not_if { ... }
is resolving to. If you can confirm it resolves to something falsey, and the elasticsearch_plugin
resource is even having an action execute, we can investigate further.
Resolving as part of #767
For in-place upgrades, we have written a method for plugin removal when installed plugins do not match the version of ES specified by the version attribute prior to installing new plugins that align with that version:
This method worked with cookbook version 3.x and ES 5.x, but no longer uninstalls the plugins for cookbook version 4.x and ES 6.x. The plugin removal resource is being executed without error for the client run, but the plugin is not being removed.