[chef] Uploading all cookbooks after freezing


Chronological Thread 
  • From: Dave Konopka < >
  • To:
  • Subject: [chef] Uploading all cookbooks after freezing
  • Date: Fri, 17 Jan 2014 09:13:08 -0500

Hello,

Is there anyway with knife to upload all cookbooks from a monolithic cookbook repo after freezing cookbooks?

Our deploy process is to run `knife cookbook upload --all` from the repo. I did some experimenting with a Chef 11 server vm. After freezing all cookbooks the `knife cookbook upload --all` fails on the first cookbook being frozen even though nothing has changed with it. Later legitimate changes in other cookbooks in the repo are not saved on the server. 

Looking at the knife code, it looks like files are selectively uploaded based on whether or not they have changed. But then a save is fired for *all* cookbooks regardless of whether not they have changed.

Splitting up the repo is on our agenda but at the moment we're working with what we have.

Thanks,
Dave



Archive powered by MHonArc 2.6.16.

§