cookbook 'amazon-ecs-agent', '~> 1.1.0'
amazon-ecs-agent (3) Versions 1.1.0 Follow2
Installs/Configures amazon-ecs-agent
cookbook 'amazon-ecs-agent', '~> 1.1.0', :supermarket
knife supermarket install amazon-ecs-agent
knife supermarket download amazon-ecs-agent
amazon-ecs-agent-cookbook
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
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>node['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>node['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>node['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>node['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>node['amazon-ecs-agent']['aws_secret_access_key']</tt></td>
<td>String</td>
<td>The secret access key</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 (williamejsalt@gmail.com)
Dependent cookbooks
docker ~> 2.2.9 |
chef-sugar >= 0.0.0 |
apt >= 0.0.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
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: amazon-ecs-agent/metadata.rb:1
FC065: Ensure source_url is set in metadata: amazon-ecs-agent/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amazon-ecs-agent/metadata.rb:1
FC069: Ensure standardized license defined in metadata: amazon-ecs-agent/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: amazon-ecs-agent/metadata.rb:1
FC065: Ensure source_url is set in metadata: amazon-ecs-agent/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amazon-ecs-agent/metadata.rb:1
FC069: Ensure standardized license defined in metadata: amazon-ecs-agent/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: amazon-ecs-agent/metadata.rb:1
FC066: Ensure chef_version is set in metadata: amazon-ecs-agent/metadata.rb:1
FC069: Ensure standardized license defined in metadata: amazon-ecs-agent/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.1.0 failed this metric
1.1.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number