[chef] Re: Add Client to Chef Server Immediately?


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Cc: Douglas Garstang < >
  • Subject: [chef] Re: Add Client to Chef Server Immediately?
  • Date: Tue, 12 Aug 2014 14:37:50 -0700

On Tue Aug 12 14:31:00 2014, Douglas Garstang wrote:
Anyone,

I remember seeing a trick recently, where a certain invocation of the
chef-client (with -z I believe) would allow a new node to report the
data it normally sends to a chef server at the end of it's run. This
would allow cookbooks that use chef search to work the first time.
Anyone know what it is?

Douglas.


chef-client -z spins up a chef-zero server and points the client at it:

https://gist.github.com/lamont-granquist/b559886607a72515f262




Archive powered by MHonArc 2.6.16.

§