[chef] Need help...


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Need help...
  • Date: Wed, 7 Mar 2012 01:36:55 -0800 (PST)

Hi,

I am trying to install the httpd using yum_package on CentOS 5.5

yum_package "httpd" do
  action :install
end

service "httpd" do
  supports :restart => true, :status => true, :reload => true
  action [:enable, :start]  
end

I am getting error,

Chef::Exceptions::ResourceNotFound: Cannot find a resource matching
service[httpd] (did you define it first?)

Can you please help me?

Thanks,
Maddy.


  • [chef] Need help..., madhuupri, 03/07/2012

Archive powered by MHonArc 2.6.16.

§