Skip to content
Browse files

Clarify data bag must exist first in readme

  • Loading branch information...
1 parent 8825e73 commit 6defb080a90b236b51da40037502a4566c5ec7d6 @jtimberman jtimberman committed Jun 29, 2010
Showing with 9 additions and 1 deletion.
  1. +9 −1 data_bags/README
View
10 data_bags/README
@@ -1,4 +1,8 @@
-Create data bag JSON files in subdirectories by data bag name. Then
+First, create the data bag. Name it whatever you want.
+
+ knife data bag create BAG
+
+Next, create data bag JSON files in subdirectories by data bag name. Then
upload the items to the Chef Server with knife:
knife data bag from file BAG FILE
@@ -11,3 +15,7 @@ For example, create a bag named 'apps' with an item named 'instiki':
Then upload it to the server:
knife data bag from file apps instiki.json
+
+For more information about data bags, see the Chef wiki.
+
+http://wiki.opscode.com/display/chef/Data+Bags

0 comments on commit 6defb08

Please sign in to comment.
Something went wrong with that request. Please try again.