Skip to content

Instantly share code, notes, and snippets.

@vpack
Created January 29, 2016 22:29
Show Gist options
  • Save vpack/970b13d4507f1919d831 to your computer and use it in GitHub Desktop.
Save vpack/970b13d4507f1919d831 to your computer and use it in GitHub Desktop.
Installing to local server via chef-Solo
# cat solo.rb 
cookbook_path "/tmp/cookbooks"

# cat runlist.json 
{
"run_list" : [ "recipe[haproxy]" ]
}

# mkdir cookbooks
# knife cookbook site download build-essential cpy haproxy
# tar -xzf *.gz
#chef-solo -c solo.rb -j runlist.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment