[[chef-dev]] Re: [[chef-dev]] Re: [[chef-dev]] Bootstrap templates


Chronological Thread 
  • From: Adam Jacob < >
  • To:
  • Cc: Bryan McLellan < >,
  • Subject: [[chef-dev]] Re: [[chef-dev]] Re: [[chef-dev]] Bootstrap templates
  • Date: Mon, 8 Aug 2011 11:48:26 -0700

On Sun, Aug 7, 2011 at 7:17 AM,  
< >
 wrote:
> just some offtopic thoughts :)
> I dislike the bootstrap templates, they are awful shell scripts and
> not idempotent at all, that makes me think they're not compatible with
> chef's concepts. ;-)

Well, if Chef has a single over-arching concept, it's that Chef should
never be in the way of you getting your job done. In this case,
getting Chef installed on systems that don't have Chef (or ruby, or
any number of other dependencies) was pretty paramount. They may be
"awful shell scripts", but they surely get it done.

That said, the work we're doing on getting full-stack installers will
certainly make it more possible to handle the installation in an
idempotent way - the amount of variation in the bootstrap scripts
(assuming you are willing to use the full-stack installer) will be
substantially less.

> I'd rather see chroot and remote(ssh) support for resources instead.
> That would enable the use of resources/definitions/recipes to
> bootstrap nodes and chef clients.

That would be interesting, but a very tall order. You could experiment
with this as a library, and have a certain number of providers that
are available for remote functionality. I think some of the basics are
not that hard, but the devil is in the details.

Best,
Adam

-- 
Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E: 




Archive powered by MHonArc 2.6.16.

§