Created
November 11, 2016 04:11
-
-
Save sharshenov/a990e72e06b80c2c43569522117b54b6 to your computer and use it in GitHub Desktop.
kitchen configuration with cached chef-client
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
--- | |
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 |
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
# 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