Hi

>> However when the file is already there, all that happens is the service
>> resource looks in the process list to check if the service is already
>> running. My guess is that it think it is running, so it does nothing.
> 
> 
> I think it 'greps' incorrectly, because i see [kauditd] running and can only
> assume it thinks it has a match for 'auditd'.


I assume that this is the problem. There are several solutions of it:

- If the init.d script provides the status option you can set the
hasstatus fo the service to true, so it will call the init.d script and
check with that.
- Otherwise you could provide another pattern to grep by setting the
pattern.
- However it might be as well an option to improve the way how puppet
greps for the service directly in the code.

Many ways to solve your problem ;)

greets pete

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to