[chef] Re: How to upload ALL encrypted data bags to Chef server?


Chronological Thread 
  • From: Yoshi Spendiff < >
  • To:
  • Subject: [chef] Re: How to upload ALL encrypted data bags to Chef server?
  • Date: Mon, 27 Apr 2015 12:29:27 -0700

Are the files actually different to what exists on the server? I know with knife upload it only outputs if it creates or modifies a file. What's the exit code of the command?

On Mon, Apr 27, 2015 at 12:09 PM, Fouts, Chris < " target="_blank"> > wrote:

https://docs.chef.io/knife_data_bag.html

 

I see mention of the -a/--all option here so I tried

 

$ knife data bag from file –all <path to data_bags> --secret-file <path to secret file>

 

But I get no command feedback, netiher pass nor fail. Moreover, the NO data bag is uploaded.

 

Chris




--
Yoshi Spendiff
Ops Engineer
Indochino
Mobile: +1 778 952 2025



Archive powered by MHonArc 2.6.16.

§