From efd9477221322709182285892bacecf367502193 Mon Sep 17 00:00:00 2001
From: danielsdeleo
For example:
- -file_cache_path "/var/chef-solo"
-cookbook_path "/var/chef-solo/cookbooks"
-
+For example: + file_cache_path "/var/chef-solo" + cookbook_path "/var/chef-solo/cookbooks"
For your own systems, you can change this to reflect any directory you like, but you'll need to specify absolute paths and the cookbook_path directory @@ -122,11 +120,9 @@ should be a subdirectory of the file_cache_path.
You can also specify cookbook_path as an array, passing multiple locations to search for cookbooks.
-For example:
- -file_cache_path "/var/chef-solo"
-cookbook_path ["/var/chef-solo/cookbooks", "/var/chef-solo/site-cookbooks"]
-
+For example: + file_cache_path "/var/chef-solo" + cookbook_path ["/var/chef-solo/cookbooks", "/var/chef-solo/site-cookbooks"]
Note that earlier entries are now overridden by later ones.
@@ -154,10 +150,8 @@ attributes and use the run_list from the JSON file specified.You can use -c to specify the path to the configuration file (if you don't want chef-solo to use the default). You can also specify -r for a cookbook tarball.
-For example:
- -chef-solo -c ~/solo.rb -j ~/node.json -r http://www.example.com/chef-solo.tar.gz
-
+For example: + chef-solo -c ~/solo.rb -j ~/node.json -r http://www.example.com/chef-solo.tar.gz
In the above case, chef-solo would extract the tarball to your specified cookbook_path, use ~/solo.rb as the configuration file, and apply attributes @@ -170,9 +164,9 @@ http://wiki.opscode.com/display/chef/Home.
Chef was written by Adam Jacob adam@ospcode.com of Opscode +
Chef was written by Adam Jacob adam@ospcode.com of Opscode (http://www.opscode.com), with contributions from the community. This -manual page was written by Joshua Timberman joshua@opscode.com with +manual page was written by Joshua Timberman joshua@opscode.com with help2man. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
@@ -181,8 +175,8 @@ found in /usr/share/common-licenses/Apache-2.0.