- Ruby Version >=2.0
$ gem install bundler
$ bundle
Copy .kitchen.yml
to .kitchen.local.yml
and add your local config settings and recipe overrides.
This file is not tracked with Git by default. Do not add this to your Git repo as these are your personal settings.
---
driver_plugin: ec2
driver_config:
aws_access_key_id: YOUR_AWS_KEY
aws_secret_access_key: YOUR_AWS_SECRET
aws_ssh_key_id: SSH_KEY_NAME_OF_NEW_INSTANCE
ssh_key: FULL_PATH_TO_KEY
# to create instance
kitchen create
# to run chef
kitchen converge
# to run serverspec
kitchen verify
# terminate instance
kitchen destroy
TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
e.g.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github