On Wed, Nov 5, 2008 at 4:09 PM, Marcin Owsiany <[EMAIL PROTECTED]> wrote:

>
> My guess is that it works when you delete the file, because the File
> resource explicitly notifies the Service resource, resulting in a
> restart.
>

I think your guess is accurate :)



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

Have a closer look at
> http://reductivelabs.com/trac/puppet/wiki/TypeReference#service
> to see how the service type checks for running services and how you can
> tweak that.



I have done that but fail to see how i can further tweak it.

thanks,

Sebastian

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