elasticsearch/cookbook-elasticsearch — pull request #75 by zsiddique (2013-03-05 00:03:34+00:00)
Title: Fix a bunch of the AWS recipe issue

1) You dont need to install the dep for fog using bootstrap. You can use run_action to have the dependences be installed at compile time before chef_gem is ran. The build-essential cookbook works this way and is needed to have compile time flag set to true.

2) The security group stuff for AWS was incorrect according to the plugin docs: https://github.com/elasticsearch/elasticsearch-cloud-aws see EC2 Discovery. I also rev'ed the version since I was editing the file.

3) I was getting a discovery_tags nil error since I was not setting that and while it rescues the nil value it still try to enumerate over it. Set a unless block to protect this.