karmi/cookbook-elasticsearch — pull request #7 by straxus (2012-03-05 19:22:56+00:00)
Title: Removed adding of ec2-user to the elasticsearch group

Removed adding of ec2-user to the elasticsearch group - not all EC2 AMIs have that user (I saw this blow up on EC2 AMI ami-c594ca80), and this appears unused (this is the only reference to 'ec2-user' in the entire codebase). The order of group and user creation was also adjusted so that the group is passed into the user rather than vice versa (less code, "feels" a bit cleaner).