Skip to content

Instantly share code, notes, and snippets.

@stephenlauck
Created August 26, 2014 20:52
Show Gist options
  • Save stephenlauck/212b20c804bea15387ae to your computer and use it in GitHub Desktop.
Save stephenlauck/212b20c804bea15387ae to your computer and use it in GitHub Desktop.
example of port forwarding in kitchen yml
---
driver:
name: vagrant
driver_config:
requre_chef_omnibus: true
network:
- ["forwarded_port", {guest: 8080, host: 8080}]
- ["private_network", {ip: "33.33.33.10"}]
customize:
memory: 2048
cpus: 2
provisioner:
name: chef_solo
platforms:
- name: ubuntu-12.04
- name: centos-6.4
suites:
- name: default
run_list:
- recipe[wrapper_pipeline::default]
attributes:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment