Last active
March 18, 2016 16:29
-
-
Save stephenlauck/5ad544adb702c665b686 to your computer and use it in GitHub Desktop.
Local kitchen yml to create vm ready for ssh provisioning with delivery-cluster.
This file contains hidden or 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
# KITCHEN_YAML=.kitchen.local.yml kitchen create cent | |
--- | |
driver: | |
name: vagrant | |
ssh: | |
insert_key: false | |
provisioner: | |
name: chef_zero | |
chef_zero_port: 9010 | |
platforms: | |
- name: ubuntu-14.04 | |
- name: centos-6.7 | |
suites: | |
<% %W{ chef delivery-primary delivery-secondary builder }.each_with_index do |name, i| %> | |
- name: <%= name %>-server | |
run_list: | |
- recipe[delivery-cluster::default] | |
driver: | |
vm_hostname: <%= name %>-.example.com | |
network: | |
- ['private_network', {ip: '192.168.33.<%= i + 30 %>'}] | |
customize: | |
memory: 2048 | |
cpus: 2 | |
attributes: | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment