Skip to content

Instantly share code, notes, and snippets.

@emilsoman
Created November 5, 2012 13:55
Show Gist options
  • Save emilsoman/4017288 to your computer and use it in GitHub Desktop.
Save emilsoman/4017288 to your computer and use it in GitHub Desktop.
Chef Server Setup
{
"chef_server": {
"server_url": "http://localhost:4000",
"webui_enabled": true
},
"run_list": [ "recipe[chef-server::rubygems-install]" ]
}
sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
mkdir -p ~/.chef
sudo cp /etc/chef/validation.pem /etc/chef/webui.pem ~/.chef
sudo chown -R $USER ~/.chef
#/etc/chef/solo.rb
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment