Skip to content

curalate/chef-amazon-ecs-agent

 
 

Repository files navigation

amazon-ecs-agent-cookbook

Build Status

This cookbook sets up the amazon ecs agent into a docker container on ubuntu. You can run it in test kitchen with the default-ecs suite, and relevant environment variabes, and perhaps a kitchen local.yml for vpc settings (subnet_id, availability_zone, security_group_ids, interface) if needed.

Supported Platforms

Ubuntu 12.04 Ubuntu 14.04

Attributes

Key Type Description Default
node['amazon-ecs-agent']['log_folder'] String the log folder for the host /var/log/ecs
node['amazon-ecs-agent']['log_level'] String the log level for the agent info
node['amazon-ecs-agent']['cluster'] String the ecs cluster name to attach to default
node['amazon-ecs-agent']['aws_access_key_id'] String Your aws access key with ecs privs nil
node['amazon-ecs-agent']['aws_secret_access_key'] String The secret access key nil

Usage

amazon-ecs-agent::default

Include amazon-ecs-agent in your node's run_list:

{
  "run_list": [
    "recipe[amazon-ecs-agent::default]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Will Salt (williamejsalt@gmail.com)

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 73.1%
  • Shell 26.9%