[chef] Re: Do not understand knifing data bags


Chronological Thread 
  • From: Adam Jacob < >
  • To: " " < >
  • Subject: [chef] Re: Do not understand knifing data bags
  • Date: Fri, 27 Sep 2013 15:50:20 -0700

knife data bag create rollups
knife data bag from file rollups arbiter-1.json

Adam


On Fri, Sep 27, 2013 at 3:43 PM, Russell Bateman < " target="_blank"> > wrote:
I'm following http://docs.opscode.com/essentials_data_bags.html .

Obviously, there's something I don't understand about knifing brand new data bags up to my Chef server. I've tried variations on the command, but below is basically what I've got and what Chef is telling me.

It's gotta be something easy. What did I miss? I would appreciate any comments.

Thanks,

Russ


~/chef/recipes $ tree data_bags
data_bags
└── rollups
    ├── arbiter-1.json
    ├── configsvr.json
    ├── replicaset-1.json
    ├── replicaset-2.json
    ├── shard-1.json
    └── shard-2.json

1 directory, 6 files
~/chef/recipes $ knife data bag from file rollups arbiter-1.json
ERROR: The object you are looking for could not be found
Response: Cannot load data bag rollups




--
Opscode, Inc.
Adam Jacob, Chief Dev Officer
T: (206) 619-7151 E: " target="_blank">



Archive powered by MHonArc 2.6.16.

§