On Wed, Nov 05, 2008 at 01:10:41PM +0100, Sebastian Vieira wrote: > Don't mean to be annoying, but i kind of ran out of ideas. If anyone can > help it would be appreciated. If not, i have to look for another (ugly) > solution.
My guess is that it works when you delete the file, because the File resource explicitly notifies the Service resource, resulting in a restart. 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. 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. -- Marcin Owsiany <[EMAIL PROTECTED]> http://marcin.owsiany.pl/ GnuPG: 1024D/60F41216 FE67 DA2D 0ACA FC5E 3F75 D6F6 3A0D 8AA0 60F4 1216 "Every program in development at MIT expands until it can read mail." -- Unknown --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---