David J.
David J.

Reputation: 32715

Should my Chef Server server show up as a node?

In the process of creating and setting up my Chef infrastructure on my own servers, I have noticed that my server is showing up as a node. My first question: is this normal and correct?

For example, server-001 is my Chef Server. The rest are intended to be managed nodes:

$ knife node list
  server-001.example.com
  server-002.example.com
  server-003.example.com
  server-004.example.com
  server-005.example.com

This seems strange and possibly incorrect to me. My second question, if this is normal, why would a Chef Server want to keep a reference to itself as a node?

Question #3: if this is incorrect, any ideas on what I did to make this happen? (Some background: I followed the Chef Server setup directions and then bootstrapped the other nodes. I have not explicitly created any nodes.)

Upvotes: 4

Views: 1159

Answers (1)

Nils Landt
Nils Landt

Reputation: 3134

What about this strikes you as incorrect? You will (probably) want to manage the node your Chef server is on with chef, right?
It keeps a reference to itself as a node because running chef-client on the machine running the server is no different than running it from any other node.

Upvotes: 4

Related Questions