[chef] Re: vagrant and chef server


Chronological Thread 
  • From: Andrew Gross < >
  • To: chef < >
  • Subject: [chef] Re: vagrant and chef server
  • Date: Wed, 17 Jul 2013 10:21:52 -0400

Hey Ralph,

As a shameless plug, my solution is to use Chef Zero.  To make it more manageable I use the vagrant plugin I wrote, vagrant-chef-zero.

Chef-Zero is an in memory Chef server that runs locally, so it is easy to dispose of and recreate.  Additionally, there is no authentication required (vagrant-chef-zero even patches out the need to specify a key locally).  While this is clean and reproducible, you will need to have a copy of cookbooks and node data to push up to Chef Zero.

Andrew




On Wed, Jul 17, 2013 at 9:41 AM, Ralph Schwaninger < " target="_blank"> > wrote:
Hi guys

We are using vagrant based virtualboxes to do our development on. The configuration is pulled in via a chef server.

I was wondering how other people deal with the following two questions / what best practice is:

1) The validation.pem. I am relucatant to check the key into our git, is there a clever way to authenticate with the chef server without the need of every developer needing the client validation.pem on their local workstation? (I suppose not, but maybe I am missing something?)

2) The fact that a chef server run adds a node and a client entry for every box a developer creates. Is there a way to not have this happen? As we want to use the central chef server to pull the config from, however we are not interested in inventory for them.

Thanks

Ralph




Archive powered by MHonArc 2.6.16.

§