Skip to content

Instantly share code, notes, and snippets.

@stephenlauck
Last active August 29, 2015 14:02
Show Gist options
  • Save stephenlauck/0a31df407d7da91dbbce to your computer and use it in GitHub Desktop.
Save stephenlauck/0a31df407d7da91dbbce to your computer and use it in GitHub Desktop.
Wndows local development setup for Chef

download virtual box

download vagrant

downlaod chef

download git

download sublime text

install virtual box

install vagrant

install chef

install git

install sublime text

check for chef and ruby

chef-client -v && ruby -v && git --version

install berkshelf

gem install berkshelf --http-proxy http://proxy-src.research.ge.com:8080

install test-kitchen

gem install test-kitchen

clone the predix cookbook

git clone https://github.sw.ge.com/grc-cookbooks/predix.git

install vagrant plugins

gem install vagrant-berkshelf -v 2.0.1 --http-proxy http://proxy-src.research.ge.com:8080

gem install vagrant-omnibus --http-proxy http://proxy-src.research.ge.com:8080

gem install kitchen-vagrant --http-proxy http://proxy-src.research.ge.com:8080

list all test-kitchen instances

cd predix kitchen list

create new file .kitchen.local.yml in the predix cookbook with the following in it:

driver:
  name: vagrant
  http_proxy: http://proxy-src.research.ge.com:8080
  https_proxy: http://proxy-src.research.ge.com:8080
  no_proxy: "10.*, 127.*, *.ge.com, 3.*"

create centos instance and converge

kitchen converge core-14-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment