Installing marvel 2.4.0 via chef

We install elasticsearch via chef. Now that (as of 2.4) marvel is installed as a kibana plugin instead of an elasticsearch plugin I am running in to an issue.

<pseudo code>If this is a marvel node</pseudo code>
include_recipe 'kibana'
execute 'install_marvel' do
command '/usr/local/kibana-4.6.1/bin/kibana plugin --install marvel --url <path_to_tar_file>
end

The problem is that after the initial run every subsequent chef-client run fails with the error that the marvel plugin has already been installed. Is there a better way to go about this?

Thanks

Patrick

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.