-
-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Description
not_if do
Dir.entries("#{node.elasticsearch[:dir]}/elasticsearch-#{node.elasticsearch[:version]}/plugins/").any? do |plugin|
next if plugin =~ /^\./
name.include? plugin
end rescue false
end
From above, even when i have a new version of a plugin, the installation would still fail as it would detect the plugin has already been installed (with a diff version)
http://stackoverflow.com/questions/19997559/update-of-elasticsearch-plugin <-- seems suggest you can't install another version (without removing the old one)
so what should be the logic here?
if not installed, install it;
if installed with a prev version, remove and install;
if installed with the same version as define in attribute, do nothing?
Metadata
Metadata
Assignees
Labels
No labels