[chef] Re: Where is the provider code kept?


Chronological Thread 
  • From: Daniel Condomitti < >
  • To:
  • Subject: [chef] Re: Where is the provider code kept?
  • Date: Tue, 11 Mar 2014 11:40:14 -0700

https://github.com/opscode/chef/blob/master/lib/chef/provider/service/redhat.rb

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

https://github.com/opscode/chef/blob/master/lib/chef/provider/service/init.rb

On Tuesday, March 11, 2014 at 11:37 AM, 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




Archive powered by MHonArc 2.6.16.

§