Created
April 30, 2015 10:57
-
-
Save marcy-terui/aceaab68584183adb89d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
includes: | |
settings: | |
command_base: bundle exec knife | |
option_sets: | |
- name: ec2 | |
options: | |
hint: ec2 | |
- name: prod | |
options: | |
ssh-user: ec2-user | |
identity-file: ~/.ssh/xxx.pem | |
sudo: | |
commands: | |
- name: bootstrap_ap1 | |
command: zero bootstrap 52.xx.xxx.xxx | |
condition: | |
option_sets: | |
- prod | |
- ec2 | |
options: | |
environment: production | |
node-name: XXX-AP1 | |
- name: bootstrap_ap2 | |
command: zero bootstrap 52.xx.xxx.xxx | |
condition: | |
option_sets: | |
- prod | |
- ec2 | |
options: | |
environment: production | |
node-name: xxx-AP2 | |
- name: converge_prod | |
command: zero chef_client | |
condition: chef_environment:production | |
option_sets: | |
- prod | |
options: | |
attribute: ec2.public_ipv4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment