Re: [Puppet Users] Re: "# Only restart if we're actually running"

2010-12-21 Thread Craig Miskell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Moffitt wrote: > Bill Proud: >> I would have thought that the simplest solution would be to not use a >> service at all but instead notify an exec from the file resource for >> the configuration. The exec could run a simple script that checks if

Re: [Puppet Users] Re: "# Only restart if we're actually running"

2010-12-21 Thread Nick Moffitt
Bill Proud: > I would have thought that the simplest solution would be to not use a > service at all but instead notify an exec from the file resource for > the configuration. The exec could run a simple script that checks if > the application is running and restarts it if it is. The trouble with

[Puppet Users] Re: "# Only restart if we're actually running"

2010-12-21 Thread Bill Proud
On Dec 20, 7:57 pm, Nick Moffitt wrote: > I'd like to know the best way to fix the refresh/restart behavior of > Service resources without using ensure => running. > > I know that this is an unpopular requirement, but I do not want puppet > to restart dying services before my monitoring system not