I'm on puppet 2.6.something, and I fully plan to use the "/etc/init.d/<servicename>" mechanism to define my service. Is there any other (correct) way to do it ?
I'm just looking for an automated way to install it with puppet. ----- Nathan Clemons <nat...@livemocha.com> wrote: > The one thing that I'll mention is that you want to use "hasstatus => true" > whenever possible, I've found, at least on older versions of Puppet > (0.25.x). Sometimes the logic it tries to use otherwise doesn't quite work, > but using the "/etc/init.d/<servicename> status" check seems to work fine. > > -- > Nathan Clemons > http://www.livemocha.com > The worlds largest online language learning community > > > > On Tue, Oct 18, 2011 at 1:40 PM, Christopher Wood < > christopher_w...@pobox.com> wrote: > > > On Tue, Oct 18, 2011 at 08:21:34PM +0000, Dan White wrote: > > > Are there any exapmples out there that show an intelligent way to do this > > ? > > > > http://docs.puppetlabs.com/references/stable/type.html#service > > > > That makes it sound like as long as you have the right init script (or > > platform-specific variant thereof) installed, puppet will do the right > > thing. > > > > > My searches are not turning up anything useful > > > “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- 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.