Permalink
Browse files

Add data bags directory for chef 0.9 knife.

  • Loading branch information...
1 parent d07aee0 commit 2594ccc0f1e042dceb2257cffd0f14001cd7021d @jtimberman jtimberman committed Jun 18, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 data_bags/README
View
13 data_bags/README
@@ -0,0 +1,13 @@
+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
+
+For example, create a bag named 'apps' with an item named 'instiki':
+
+ mkdir data_bags/apps
+ echo '{ "id": "instiki" }' > data_bags/apps/instiki.json
+
+Then upload it to the server:
+
+ knife data bag from file apps instiki.json

0 comments on commit 2594ccc

Please sign in to comment.