On Sep 17, 7:02 pm, pfleming <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to manage war files on several tomcat servers. Here is
> what I'm trying to do:
>
> I have a source directory with war files that I want to sync to the
> nodes. The nodes mount this directory via nfs.
> When a change is detected I want to copy the war files from the nfs
> share to /webapps, stop tomcat, remove any directories in /webapps and
> restart tomcat.

I don't know about everyone else, but I would probably write a script
(Perl, Ruby, Bash) to do the actual stop/move files/start process.
While the puppet method seems to work for you, I would think that
maintaining it would be a nightmare.  Script programming would
probably be much more clean and maintainable for other people on the
team.  I *would* use Puppet to sync the script and to fire it off,
just not do all the work.  Any thoughts?

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

Reply via email to