Hello all, I'm using Puppet to ensure a service is running. After stopping the service and running "puppetd -v -o --test", I sometimes (not always) get an error output like this one:
"Could not start Service[myService]: Execution of '/etc/init.d/ myService onestart" I wonder why it calls "onestart" instead of "start". Then I run "puppetd -v -o --debug" and get the following outputs: - when it runs ok: Service[myService](provider=debian): Executing 'ps -ef' Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update- rc.d -n -f myService remove Service[myService](provider=debian): Executing '/etc/init.d/myService start' Puppet::Type::Service::ProviderDebian: Executing '/usr/sbin/update- rc.d -n -f myService remove - when it runs with error: Service[myService](provider=freebsd): Executing 'ps -ef Service[myService](provider=freebsd): Executing '/etc/init.d/myService onestart' Do you think the change of provider can explain the error ? Why can the provider change ? (I run the command in the same server). Thank you. Best wishes. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
