Important Note: This cookbook is under development. Contribution is welcome!
Install AWS aws-codedeploy-agent
The following platforms are supported by this cookbook.
- Ubuntu 14.04
- CentOs 7
- Fedora 21
- Debian 8
- Amazon Linux AMI 2015.03
aws-codedeploy-agent- install aws-codedeploy-agent
Customize the attributes to set ruby version requirements of AWS aws-codedeploy-agent (currently 2.0.0-p645)
| Key | Type | Description | Default |
|---|---|---|---|
| node['aws-codedeploy-agent']['ruby-version'] | string | Set the default ruby version of code deploy | 2.0.0-p645 |
Just include aws-codedeploy-agent in your node's run_list:
{
"name":"my_node",
"run_list": [
"recipe[aws-codedeploy-agent]"
]
}Default .kitchen.yml test the cookbook in docker containers.
To test the cookbook on AWS instances use:
KITCHEN_YAML=.kitchen-aws.yml bundle exec kitchen list
KITCHEN_YAML=.kitchen-aws.yml bundle exec kitchen verify aws-codedeploy-agent-ubuntu-1404-aws
KITCHEN_YAML=.kitchen-aws.yml bundle exec kitchen verify aws-codedeploy-agent-ubuntu-1204-aws
KITCHEN_YAML=.kitchen-aws.yml bundle exec kitchen verify aws-codedeploy-agent-debian-8-aws
KITCHEN_YAML=.kitchen-aws.yml bundle exec kitchen verify aws-codedeploy-agent-amazon-linuxRefer to the kitchen-ec2 documentation
- Fork the repository on Github
- Create a named feature branch (like
add_component_x) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Authors:
- Oswald De Riemaecker (oswald@continuousphp.com)
Copyright 2015, Continuous S.A.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.