[chef] Re: Re: Do not understand knifing data bags


Chronological Thread 
  • From: Russell Bateman < >
  • To:
  • Subject: [chef] Re: Re: Do not understand knifing data bags
  • Date: Fri, 27 Sep 2013 16:52:21 -0600

I had contemplated that a moment, but worried that it would be walking the manual path while I wanted to be based on files. I guess I was over-cautious. Thank you very much.

On 9/27/2013 4:50 PM, Adam Jacob wrote:
" type="cite">
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.

§