Skip to content

Instantly share code, notes, and snippets.

@horsey
Created March 9, 2016 17:56
Show Gist options
  • Select an option

  • Save horsey/95d73e95eef9966aa296 to your computer and use it in GitHub Desktop.

Select an option

Save horsey/95d73e95eef9966aa296 to your computer and use it in GitHub Desktop.
.kitchen.yml
---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: ubuntu-14.04
suites:
- name: appserver
driver:
vm_hostname: dev-01
network:
- ["private_network", {ip: "10.0.0.120"}]
- ["public_network", {bridge: "bridge0"}]
customize:
memory: 1024
cpus: 2
run_list:
- recipe[base::default]
- recipe[appserver::default]
- recipe[dbserver::default]
attributes: {
"authorization": {
"sudo": {
"groups": ["admin", "wheel", "sysadmin", "adm"],
"users": ["vagrant", "ohadmin"],
"passwordless": "true"
}
},
"environment": {
"name": "development"
},
"appserver": {
"hostname": "as-01",
"ipaddress": "10.0.0.120"
},
"dbserver": {
"hostname": "db-01",
"ipaddress": "10.0.0.120",
},
"services": {
"hostname": "services",
"ipaddress": "10.0.0.120",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment