Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add data bags directory for chef 0.9 knife.

  • Loading branch information...
commit 2594ccc0f1e042dceb2257cffd0f14001cd7021d 1 parent d07aee0
@jtimberman jtimberman authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 data_bags/README
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
Please sign in to comment.
Something went wrong with that request. Please try again.