-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Configuration Management with Chef-Solo
By :
Chef-Solo is an open source version of chef-client. It executes recipes from the local cookbooks. It is a limited version of chef-client and has much fewer features than it. It does not have the following features:
The following command is an example. To search by a platform ID, use the following command:
knife search node 'rackspace:*' –i
The result for the preceding command would be as follows:
4 items found ip-1B45DE89.rackspace.internal ip-1B45DE89.rackspace.internal ip-1B45DE89.rackspace.internal ip-1B45DE89.rackspace.internal
Downloading the sample code
You can download the sample code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
Similarly, you can search by instance type, node, environment, nested attributes, and multiple arguments.
# chef-solo privileges test ALL=(ALL) NOPASSWD: /usr/bin/chef-solo #test is name of non-root user.
Although Chef-Solo has fewer features, it provides the core use of developing cookbooks.
Moreover, Chef-Solo provides a simple way to start. You can build the system by using cookbooks and it's extremely useful for booting new machines.
Like chef-client, Chef-Solo can be used for servers, applications, or any physical machine.
Change the font size
Change margin width
Change background colour