Where is the provider code kept?

Greetings,

I am trying to determine what, exactly, happens when I specify a 'service’
resource in a recipe. I went looking for the ‘service’ resource definition and,
I think, found it. However, it defers the details of the implementation to the
provider, which, in my case is defined as
"Chef::Provider::Service::Init::Redhat". So, can anyone tell me where I might
find the code that implements this so that I can trace it through and find the
answers I seek?

Thanks!

Peter

This just implements using chkconfig to enable/disable a service. Starting and stopping is handled by Chef::Provider::Service::Init

On Tuesday, March 11, 2014 at 11:37 AM, ppavlovich@kronos.com wrote:

Greetings,

I am trying to determine what, exactly, happens when I specify a 'service'
resource in a recipe. I went looking for the 'service' resource definition and,
I think, found it. However, it defers the details of the implementation to the
provider, which, in my case is defined as
"Chef::Provider::Service::Init::Redhat". So, can anyone tell me where I might
find the code that implements this so that I can trace it through and find the
answers I seek?

Thanks!

Peter