Skip to content
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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 for more information.

HOWTO: Associate environments with a node

Either specify the environment when bootstrapping

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

or use

Something went wrong with that request. Please try again.