May 2015
Intermediate to advanced
278 pages
5h 34m
English
Having separate environments for development, testing, and production are good ways to be able to develop and test cookbook updates and other configuration changes in isolation. Chef enables you to group your nodes into separate environments so as to support an ordered development flow.
For the following examples, I assume that you have a node named server in the _default environment and that you have at least one cookbook (I'll use the ntp cookbook) registered with your Chef server.
Let's see how to manipulate environments using knife.
This is only a good idea if you want to play around. For serious work, please create files describing your environments and put them under version control as described ...
Read now
Unlock full access