On Thu, Dec 22, 2011 at 1:42 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:

> Hi,
>
> On 12/20/2011 05:26 PM, Kenneth Lo wrote:
> > So the question is, given the service resource is also within the same
> > module with the file, how do I make sure we can do the following
> > sequentially?:
> >
> > 1. Shutdown the tomcat instance (service resource in tomcat module)
> > 2. Update the application war file  (file resource in tomcat module)
> > 3. Start the tomcat instance
>
>
This strikes me as a problem for package management to solve.  Use puppet
to ensure the correct package version is present and use the something like
rpm %pre and %post stages to control the state of tomcat during the upgrade.

-- 
Doug Chapman

-- 
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 
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