cookbook 'amazon-ecs-agent', '= 0.1.0'
amazon-ecs-agent (3) Versions 0.1.0 Follow2
Installs/Configures amazon-ecs-agent
cookbook 'amazon-ecs-agent', '= 0.1.0', :supermarket
knife supermarket install amazon-ecs-agent
knife supermarket download amazon-ecs-agent
amazon-ecs-agent-cookbook
This is a work in progress, but currently works
This cookbook sets up 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
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['amazon-ecs-agent']['log_folder']</tt></td>
<td>String</td>
<td>the log folder for the host</td>
<td><tt>/var/log/ecs</tt></td>
</tr>
<tr>
<td><tt>['amazon-ecs-agent']['log_level']</tt></td>
<td>String</td>
<td>the log level for the agent</td>
<td><tt>info</td>
</tr>
<tr>
<td><tt>['amazon-ecs-agent']['cluster']</tt></td>
<td>String</td>
<td>the ecs cluster name to attach to</td>
<td><tt>default</tt></td>
</tr>
<tr>
<td><tt>['amazon-ecs-agent']['aws_access_key_id']</tt></td>
<td>String</td>
<td>Your aws access key with ecs privs</td>
<td><tt>nil</tt></td>
</tr>
<tr>
<td><tt>['amazon-ecs-agent']['aws_secret_access_key']</tt></td>
<td>String</td>
<td>The secret access keyt</td>
<td><tt>nil</tt></td>
</tr>
</table>
Usage
amazon-ecs-agent::default
Include amazon-ecs-agent
in your node's run_list
:
{ "run_list": [ "recipe[amazon-ecs-agent::default]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: Will Salt (will@crowdsurge.com)
Dependent cookbooks
docker ~> 0.36.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.0
Initial release of amazon-ecs-agent
-
Enhancements
- an enhancement
-
Bug Fixes
- a bug fix
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric