Harpreet
Harpreet

Reputation: 1

chef node is not executing the chef-client command

I have created two aws ubuntu instances. One will be worked as a workstation and another as a node. I have bootstrapped the node and it is working fine. When I type knife node list it shows the node which I have created.

After creating recipe apache, whenever I try to execute sudo chef-client on the node, it throws an error. I am not able to rectify. This is the error:

enter image description here

Upvotes: 0

Views: 360

Answers (1)

coderanger
coderanger

Reputation: 54181

httpd is the package name on RHEL-style systems. On Debian-style systems the package name is apache2. The learnchef tutorial doesn't make this super clear.

Upvotes: 1

Related Questions