From 6defb080a90b236b51da40037502a4566c5ec7d6 Mon Sep 17 00:00:00 2001 From: jtimberman Date: Tue, 29 Jun 2010 21:40:35 -0600 Subject: [PATCH] Clarify data bag must exist first in readme --- data_bags/README | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/data_bags/README b/data_bags/README index 627e23f..0b75620 100644 --- a/data_bags/README +++ b/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