[Puppet Users] Re: service, --tags, hasstatus

2012-05-15 Thread jcbollinger
On May 14, 2:31 pm, Markus Falb markus.f...@fasel.at wrote: On 14.5.2012 19:48, jcbollinger wrote: On May 14, 12:07 pm, Markus Falb markus.f...@fasel.at wrote: and now I am thinking about setting a default Service {   hasstatus = true } so I do not have to specify it for

[Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread jcbollinger
On May 12, 11:09 am, Markus Falb markus.f...@fasel.at wrote: I have a class irqbalance with a service defined and it does not work as expected and thats why I am asking for advice. service { 'irqbalance':       ensure = running,       enable = true,       require = Package['irqbalance'],

Re: [Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread Markus Falb
On 14.5.2012 14:53, jcbollinger wrote: On May 12, 11:09 am, Markus Falb markus.f...@fasel.at wrote: I have a class irqbalance with a service defined and it does not work as expected and thats why I am asking for advice. service { 'irqbalance': ensure = running, enable = true,

[Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread jcbollinger
On May 14, 12:07 pm, Markus Falb markus.f...@fasel.at wrote: This would mean that looking in the process table is unreliable Indeed so. It is the least common denominator, but as you saw, it is prone to false positives. In some cases it can also suffer from false negatives. and now I am

Re: [Puppet Users] Re: service, --tags, hasstatus

2012-05-14 Thread Markus Falb
On 14.5.2012 19:48, jcbollinger wrote: On May 14, 12:07 pm, Markus Falb markus.f...@fasel.at wrote: and now I am thinking about setting a default Service { hasstatus = true } so I do not have to specify it for every service. That's entirely reasonable if your initscripts