Skip to content
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
README.md
local.json
production.json
staging.json

README.md

HOWTO: Upload environments to Chef Server

First, create the environment on Chef Server (if it doesn't already exist):

$ knife environment create local

Second, upload the environment itself:

$ knife environment from file environments/local.json

See http://wiki.opscode.com/display/chef/Managing+Environments+With+Knife for more information.

HOWTO: Associate environments with a node

Either specify the environment when bootstrapping

$ knife bootstrap 172.16.152.143 -E local -x bootstrap -Pbootstrap -r 'role[web]' --distro ubuntu10.04-gems --sud

or use https://manage.opscode.com/nodes.

Something went wrong with that request. Please try again.