Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Commit

Permalink
Clarify data bag must exist first in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Jun 30, 2010
1 parent 8825e73 commit 6defb08
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion data_bags/README
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.