Skip to content

Instantly share code, notes, and snippets.

@sharshenov
Created November 11, 2016 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sharshenov/a990e72e06b80c2c43569522117b54b6 to your computer and use it in GitHub Desktop.
Save sharshenov/a990e72e06b80c2c43569522117b54b6 to your computer and use it in GitHub Desktop.
kitchen configuration with cached chef-client
---
driver:
name: vagrant
synced_folders: [
["~/.chef/pkgs", "/tmp/chef-pkgs"]
]
provisioner:
name: chef_zero
chef_omnibus_url: file:///tmp/chef-pkgs/install.sh
# your configuration
# put this script in ~/.chef/pkgs/ dir
# download chef client wget https://packages.chef.io/files/stable/chef/12.16.42/ubuntu/16.04/chef_12.16.42-1_amd64.deb -O ~/.chef/pkgs/chef_12.16.42-1_amd64.deb
dpkg -i /tmp/chef-pkgs/chef_12.16.42-1_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment