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.