[chef] Re: Issues with chef-client daemon RHEL5


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Issues with chef-client daemon RHEL5
  • Date: Thu, 31 Jan 2013 11:03:48 -0800


On Thursday, January 31, 2013 at 9:37 AM, Gabriel ss wrote:

Hello,
I'm having the following issue, hoping someone might be able to help.

When running chef-client in daemon mode, the first run goes perfect with no errors. All runs after that, I get the following:
  "Resource template[config.conf] is configured to notify resource service[testservice] with action restart, but service[testservice] cannot be found in the resource collection."
 Any ideas?

Chef: 10.12.0 RHEL 2.6.18-308.1.1.el5

Thanks.
What does the code where the service[testservice] resource is defined look like?

Perhaps like this?

  if condition
    service "testservice" do
      # …
    end
  end

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§