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


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: Re: How to upload ALL encrypted data bags to Chef server?
  • Date: Mon, 27 Apr 2015 19:38:56 +0000
  • Accept-language: en-US

I’m not using “knife upload” since that command doesn’t seem to have the option to upload encrypted data bags. Rather “knife data bag.” There are NO data bags in the server. Like I said, the command gives NO feedback.

 

Chris

 

From: Yoshi Spendiff [mailto:
Sent: Monday, April 27, 2015 3:29 PM
To:
Subject: [chef] Re: How to upload ALL encrypted data bags to Chef server?

 

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.

§