- From: Ian Ragsdale <ian.ragsdale@gmail.com>
- To: chef@lists.opscode.com
- Subject: [chef] Re: Re: Re: Re: Thinking out loud
- Date: Wed, 29 Jul 2009 11:58:10 -0500
I actually did something similar myself, but totally in ruby. It
creates a Net::SSH connection over which it can run commands, runs the
commands remotely, and evaluates the results locally.
It figures out if apt-get or yum are installed, installs the necessary
packages to run chef-solo, then copies over the chef-solo config (the
really cool thing is that Net::SCP can happen over the same SSH
connection) and runs the specified recipe.
- Ian
On Jul 29, 2009, at 11:50 AM, Adam Jacob wrote:
I dig it! It's already pretty generic, but seeing something like this
for all the various platforms we support is a great idea. Reminds me
of the old Gnome installer from back in the day. Another variant on
this would be using Capistrano to do it remotely..
Adam
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: adam@opscode.com
Archive powered by MHonArc 2.6.16.