On Oct 27, 2010, at 5:02 PM, Douglas Garstang wrote:

> On Mon, Oct 25, 2010 at 1:21 AM, James Turnbull <ja...@puppetlabs.com> wrote:
> ajinkya prabhune wrote:
> > Hi,
> >
> > So what do u thing is good and better than Puppet ?
> >
> > thanks
> 
> I second Nigel's question.  I know a number of people who deploy Java,
> Ruby, PHP, etc, etc applications with Puppet.
> 
> Me too. I do it several times a day.

Can you guys describe the sort of applications you deploy, how they are 
delivered to the target, and how you deal with "rolling bounces" (start on node 
A, shutdown JVM, deploy code, start JVM, move to node B, etc.) ?  Are you just 
doing this by ordering puppet runs externally?  If so, what manages the 
ordering?

How do you tell puppet which version / package of the code to install?  Do you 
generate manifests with this information?  Is it a fact?  extlookup?

I'd also be interested to know how / if you handle deployment of multiple apps 
to the same container.  Imagine you have a dependency like this (pseudo puppet 
code):

        app1: { require => [ exec[ "shutdown-jvm1"], deploy["app1"], 
exec["start-jvm1"] ] }
        app2: { require => [ exec[ "shutdown-jvm1"], deploy["app2"], 
exec["start-jvm1"] ] }
       
.. when you deploy app1 and app2 at the same time (ie, within the same puppet 
run), are you able to make puppet only apply the first shutdown and the last 
startup?  (basically, optimize it & just shutdown jvm1 once, deploy both app1 
and app2, then start jvm1.)  We do this today with home-grown code but I'd like 
to move it into puppet if possible.

Thanks!
James

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to