How come i have an extra client showing up?


#1

Hi guys,

I followed the tutorial very closely:
http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

My server’s username is serveradmin. I did knife client list before I setup
a knife client on my personal laptop:
chef-validator
chef-webui
serveradmin

I created a knife client called laptop and when I finished, I got this
chef-validator
chef-webui
serveradmin
server1
laptop

where server1 is the name of the chef server. I wonder why I have server1
show up in the client list?
The only node present is server1, that’s okay. I guess.

I am confused between server1 and serveradmin in the client list. What
exactly do they mean? server1 is the hostname and the name of the server,
and serveradmin is the client name (also the username).
Weird. Confusing to me.

Thanks.


#2

Clients are chef clients. Nodes also have a client. In this case i
imagine you ran chef-client on your server named server1. This
section of the wiki explains the what and why:
http://wiki.opscode.com/display/chef/Authentication+and+Authorization#AuthenticationandAuthorization-InitialChefclientrun

On Mon, Jul 30, 2012 at 10:31 AM, John Wong gokoproject@gmail.com wrote:

Hi guys,

I followed the tutorial very closely:
http://wiki.opscode.com/display/chef/Installing+Chef+Server+on+Debian+or+Ubuntu+using+Packages

My server’s username is serveradmin. I did knife client list before I setup
a knife client on my personal laptop:
chef-validator
chef-webui
serveradmin

I created a knife client called laptop and when I finished, I got this
chef-validator
chef-webui
serveradmin
server1
laptop

where server1 is the name of the chef server. I wonder why I have server1
show up in the client list?
The only node present is server1, that’s okay. I guess.

I am confused between server1 and serveradmin in the client list. What
exactly do they mean? server1 is the hostname and the name of the server,
and serveradmin is the client name (also the username).
Weird. Confusing to me.

Thanks.