项目作者: amimoto-ami

项目描述 :
Git Mirror of https://github.com/Launch-with-1-Click/lw1-amimoto
高级语言: HTML
项目地址: git://github.com/amimoto-ami/amimoto-ami.git
创建时间: 2018-01-17T17:35:17Z
项目社区:https://github.com/amimoto-ami/amimoto-ami

开源协议:

下载


AMIMOTO Cookbook

Requirements

  • Ruby Version >=2.0

Setup

  1. $ gem install bundler
  2. $ bundle

Usage and Configuration

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.

  1. ---
  2. driver_plugin: ec2
  3. driver_config:
  4. aws_access_key_id: YOUR_AWS_KEY
  5. aws_secret_access_key: YOUR_AWS_SECRET
  6. aws_ssh_key_id: SSH_KEY_NAME_OF_NEW_INSTANCE
  7. ssh_key: FULL_PATH_TO_KEY
  1. # to create instance
  2. kitchen create
  3. # to run chef
  4. kitchen converge
  5. # to run serverspec
  6. kitchen verify
  7. # terminate instance
  8. kitchen destroy

Contributing

TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github