Skip to content

Commit

Permalink
Cant call elasticsearch-cloud-aws just aws in the plugin attribute as…
Browse files Browse the repository at this point in the history
… the plugin recipe will fail as it tries to install it causing elasitcsearch to restart on every chef run.
  • Loading branch information
Zuhaib M Siddique committed Mar 5, 2013
1 parent 3e80a90 commit 705c796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion attributes/aws.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Instead of using AWS access tokens, you can create the instance with a IAM role.
# See: http://aws.amazon.com/iam/faqs/#How_do_i_get_started_with_IAM_roles_for_EC2_instances

default.elasticsearch[:plugins][:aws][:version] = '1.11.0'
default.elasticsearch['plugins']['elasticsearch-cloud-aws']['version'] = '1.11.0'

# === AWS ===
# AWS configuration is set based on data bag values.
Expand Down
2 changes: 1 addition & 1 deletion recipes/aws.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node.default[:elasticsearch][:plugin][:mandatory] = Array(node[:elasticsearch][:plugin][:mandatory] | ['cloud-aws'])

install_plugin "elasticsearch/elasticsearch-cloud-aws/#{node.elasticsearch[:plugins][:aws][:version]}"
install_plugin "elasticsearch/elasticsearch-cloud-aws/#{node.elasticsearch['plugins']['elasticsearch-cloud-aws']['version']}"

0 comments on commit 705c796

Please sign in to comment.