On 12-02-06 02:53 AM, jkm89 wrote:
> This is my configuration:
>         service { $nscasvc:
>                 ensure => stopped,
>                 enable => false,
>                 pattern => "$nscapattern",
>                 require => Class["nsca::install"],
>         }
> 
> If I add hasstatus => true work perfectly on gentoo but work bad on
> debian.

It's possible (I haven't verified) that the init script for nsca does
not have a "status" command which reports if the service is running or not.

If that's the case, then you'll have to go with a process name pattern.

-- 
Gabriel Filion

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