Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cookbooks 0.10 changes, use md for environments

  • Loading branch information...
commit a3bec38c9e3df2a1d4ccc5f6816d1a288fd97ccd 1 parent 39b4d55
@jtimberman jtimberman authored
View
5 cookbooks/README.md
@@ -17,7 +17,7 @@ Configure knife to use your preferred copyright holder, email contact and licens
cookbook_email "cookbooks@example.com"
cookbook_license "apachev2"
-Supported values for `cookbook_license` are "apachev2" or "none". These settings are used to prefill comments in the default recipe, and the corresponding values in the metadata.rb. You are free to change these in those files.
+Supported values for `cookbook_license` are "apachev2", "mit","gplv2","gplv3", or "none". These settings are used to prefill comments in the default recipe, and the corresponding values in the metadata.rb. You are free to change the the comments in those files.
Create new cookbooks in this directory with Knife.
@@ -29,7 +29,7 @@ You can also download cookbooks directly from the Opscode Cookbook Site. There a
The first and recommended method is to use a vendor branch if you're using Git. This is automatically handled with Knife.
- knife cookbook site vendor COOKBOOK
+ knife cookbook site install COOKBOOK
This will:
@@ -43,6 +43,7 @@ This will:
* Creates a tag for the version downloaded.
* Checks out the master branch again.
* Merges the cookbook into master.
+* Repeats the above for all the cookbooks dependencies, downloading them from the community site
The last step will ensure that any local changes or modifications you have made to the cookbook are preserved, so you can keep your changes through upstream updates.
View
2  data_bags/README.md
@@ -1,5 +1,6 @@
Data Bags
---------
+
This directory contains directories of the various data bags you create for your infrastructure. Each subdirectory corresponds to a data bag on the Chef Server, and contains JSON files of the items that go in the bag.
First, create a directory for the data bag.
@@ -27,6 +28,7 @@ Then upload the items in the data bag's directory to the Chef Server.
Encrypted Data Bags
-------------------
+
Added in Chef 0.10, encrypted data bags allow you to encrypt the contents of your data bags. The content of attributes will no longer be searchable. To use encrypted data bags, first you must have or create a secret key.
openssl rand -base64 512 > secret_key
View
2  environments/README → environments/README.md
@@ -1,4 +1,4 @@
-Requires Chef 0.10.0.
+Requires Chef 0.10.0+.
This directory is for Ruby DSL and JSON files for environments. For more information see the Chef wiki page:
Please sign in to comment.
Something went wrong with that request. Please try again.