John Florian wrote:
> initctl start example
> initctl stop example
> initctl status example
>
>
> What I've done this far in puppet is:
>
>   exec { "example-service":
>     command   => "initctl start example",
>     onlyif    => "initctl status example | grep -qv running",
>   }
>
>
> So maybe it's wrong to expect the service type to handle this.  Maybe
> we need a specific upstart type instead?
>
>
>   
An upstart provider for the service type should be fine.  It should be
relatively easy to develop.  If you don't want to develop yourself can
you please log a feature request and I'll knock something up.

Cheers

James

-- 
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
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