logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Is Puppet similar to Capistrano?: msg#00073

Subject: Re: Is Puppet similar to Capistrano?
On 10/8/07, Brandorr <brandorr@xxxxxxxxxxxxxxx> wrote:
> I discovered Capistrano while I was trying to figure out what I
> wanted. See attached notes.
> http://www.genunix.org/wiki/index.php/GNOSIS/Kraken

Puppet and Capistrano fill two very different niche's.  Capistrano is
essentially a mashup of Rake and SSH.  It allows you to develop
recipes for dealing with executing commands on servers in parallel,
the canonical example being the deployment of a Rails application.
Capistrano *can* be used to automate standard systems administration
tasks (and some people do use it that way) but it's really no
different than what many systems administrators have been doing for
years with shell scripts and for loops.*

Puppet is a language for expressing your infrastructure in code.
Using Puppet's language, you define all the resources needed in your
infrastructure, and then apply those resources to individual nodes (or
servers.)  Puppet makes your infrastructure more reliable, repeatable,
and documented.

We use Puppet and Capistrano both extensively in our consulting
practice.  Puppet builds and manages the infrastructure (including the
things done when you can cap deploy:setup,) while Capistrano handles
the deployment of new code. (which it is pretty good at.)

When you add a tool like the soon-to-get-a-real-release iClassify, you
can integrate Puppet and Capistrano directly.  It lets you organize
your systems with tags (that map to Puppet Classes), and Capistrano
queries it to set up the server roles.

For example, you might have a "database" puppet class that configures
a mysql server.  It further might be a "master" or "slave", which maps
to the Capistrano :db role.  We query iClassify with Capistrano,
asking for the database servers, and making the one that is your
master the :primary one.

Capistrano and Puppet go together like cheese and crackers.

Adam

-- 
HJK Solutions - We Launch Startups - http://www.hjksolutions.com
Adam Jacob, Senior Partner
T: (206) 508-4759 E: adam@xxxxxxxxxxxxxxxx


05/15 Air Force Aims for Control of 'Any and All' Computers
From the 0wzign j00! dept.: ...On Monday, the Air Force Research Laboratory introduc..
05/15Catch a Glimpse of Mozilla's E-Mail Future in Thunderbird 3 Alpha 1
From the New Mail! dept.: It's alive! Mozilla has released the first alpha version o..
05/15MoonLight: Open Source Silverlight
From the Miguel dept.: Today we are making the first public release of Moonlight, su..
05/15How to rescue Java from the men in suits
From the Suits Still Control Java dept.: Members of a JavaOne panel on the JCP, open..
05/14Brute-Force SSH Server Attacks Surge
From the Button down the hatches dept.: The number of brute-force SSH attacks is ris..
Succoured by feed.informer.com
<Prev in Thread] Current Thread [Next in Thread>