gem install bundler
bundle
Create .kitchen.local.yml. This file will override credincial settings.
!! Don't add.kitchen.local.yml to git !!
---
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
Authors: TODO: List authors