Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing hostname will break authentication between client and server. #8

Closed
yandod opened this issue Mar 29, 2013 · 1 comment
Closed

Comments

@yandod
Copy link

yandod commented Mar 29, 2013

I applied this cookbook for the node under the Hosted Chef.
Well, After changed hostname, authentication got broken.

Chef Server seems generation hash based on hostname and key.
I think this cookbook should inform about that.

@mpasternacki
Copy link
Member

Do you have your client name configured in /etc/chef/client.rb? My guess for the cause would be that it's unset, and then it defaults to client's hostname. You should either use -N name in the initial chef-client run, or set the name explicitly in client.rb. The chef-client cookbook takes care of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants