[chef] Re: Edit old Cookbook versions


Chronological Thread 
  • From: Eric Feldhusen < >
  • To:
  • Subject: [chef] Re: Edit old Cookbook versions
  • Date: Fri, 22 Nov 2013 12:41:44 -0500

Or because I literally just need to change an IP address in a couple of recipes for now, could I just go to the /var/opt/chef-server/bookshelf/data/bookshelf directory and quick edit the file or will that really break stuff?

Eric


On Fri, Nov 22, 2013 at 11:32 AM, Eric Feldhusen < " target="_blank"> > wrote:
I took over an existing Chef server and it has several cookbooks with multiple versions, with various environments locked to several of those versions. 

I now need to edit multiple cookbook versions to fix hardcoded items due to changes in our environment and I was wondering what the best way to handle making those changes would be? 

I was thinking I could create various git branches on my workstation and knife download the specific version, change the hardcode item(s), and force a cookbook upload. 

It's not perfect, but it helps until I can move various servers/environments to latest cookbook versions.

Eric Feldhusen




Archive powered by MHonArc 2.6.16.

§