-
-
Notifications
You must be signed in to change notification settings - Fork 605
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
Broken attempted aws plugin installation by default #76
Comments
I tried out the branch from that pull request, but that didn't fix it. This change jeremyolliver@a5b0368 (ontop of the branch in #75) does get the aws plugin installing correctly when using the This is definitely an improvement, in that elasticsearch isn't restarted every chef run, but I think ideal would be that the aws plugin isn't installed by default, unless explicitly included. This could be accomplished by either moving the version in |
I'll wait until 75 is merged in before submitting this change. In the mean time I may see about making that change that I mentioned |
Absolutely right. The plugin shouldn't be installed when you don't include the recipe, and I think your suggestions are spot on. I'll try to process #75 as soon as possible. |
Hi, I think the attached commit solves the issue, thanks for the report! |
I believe so, thanks |
I'm not including the aws recipe, just the
default
andplugins
recipes. The aws plugin is attempted to install by default, and fails installation (possibly due to github no longer serving their downloads service?). The install plugin block fires every chef run because this plugin is still not installed (though the chef run completes cleanly), and also triggers the notification to restart elasticsearch (restarting elasticsearch every chef run is the main issue I see with this).I'd be fine if either, the plugin install block didn't trigger a restart if the installation failed, or the default settings actually successfully completed the aws plugin install that they attempt.
I believe the cause of this plugin being installed by default is that the
attributes/aws.rb
sets a version for it though chef will parse and evaluate all attributes files even if theelasticsearch::aws
recipe isn't included. (And of course presence of the key in the plugins attributes triggers the install)The text was updated successfully, but these errors were encountered: