[chef] Re: Re: Re: Re: remote Node concept?


Chronological Thread 
  • From: Patrick Debois < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: remote Node concept?
  • Date: Mon, 12 Apr 2010 16:28:10 +0200

On 12/04/2010 16:17, msf wrote:
On Mon, Apr 12, 2010 at 03:48:03PM +0200, Patrick Debois wrote:
Hi Trotter, Lee,

thanks for the help.(spatula does look interesting!)

Let me try to clarify: I'm not looking for a way to jumpstart a chef
client. I'm looking for a way to manage a node 'agent-less' over
ssh. I understand this not in Chef yet. I personally think this
would bring added value, (at least to me ;-) And I would be willing
to spent some time on this.

I'm trying to figure out if it makes to integrate this in Chef
code's or not.
I've wanted to have this feature in chef in the past as well.
 From what I can tell, the bulk of the work that would need to be done is in
crafting drop in replacements of popen4() and run_command() that execute
ssh and execute the commands over the ssh connection. You would probably
at the very least investigate using multiple ssh channels over one
ssh connection to eliminate the setup cost of having one authenticated
ssh session for each executed command. I have no idea whether or not
net-ssh-ruby supports using session multiplexing.

I would be definitely interested in working with someone on this
feature.
Dreamcat4 and Lindsay,

thanks for the hints on integrating Capistrano. It's not what I had in mind, but I'll investigate the custom resource and the moonshine alternative to see how they fit in.

Msf,

From what I read from your mail, this is what I was thinking: making run_command, open4, system and so one ssh/remote aware. The caveat is that a lot of logic in scripts is handled by ruby internal code that you can't simply make ssh aware unless you implement it as a command line (f.i. copy files over ssh (handled in ruby code) instead of 'scp ...' command). Therefore I was thinking of flagging recipes with the remote execute capability flag : meaning it handles everything by commandline commands.

Anyone else interested?





Archive powered by MHonArc 2.6.16.

§