Hi Chefs,
is possible to rename a chef server?
Regards,
Eduardo
Hi Chefs,
is possible to rename a chef server?
Regards,
Eduardo
On Thu, Jan 23, 2014 at 9:48 PM, Eduardo Dias eduardodiasbr@gmail.com wrote:
Hi Chefs,
is possible to rename a chef server?
Regards,
Eduardo
On a more serious note do you mean the hostname or the name the nodes
connect to? If you mean the name the nodes connect to yes you can do
it wholesale with some magic using the chef-client cookbook.
If you mean the machine and it's a *nix machine:
$ hostname susan.getchef.com
Doesn't matter what hostname you connect to as far as the clients are
concerned. SSL/TLS certificates might be a gotcha of course.
Windows it's probably Start -> Run -> Control panel etc
I guess you probably need to clarify your question though?
--
Andy Gale
Hi Andy,
thanks for reply.
I want to clone my chef server and change the name.
It is a Linux server.
I changed the hostname,recreated the ca certificates and run
chef-server-ctl reconfigure.
Does have any other action to do? or this type of change is not supported?
Regards,
Eduardo
2014/1/23 Andy Gale andy@salgo.net
On Thu, Jan 23, 2014 at 9:48 PM, Eduardo Dias eduardodiasbr@gmail.com
wrote:Hi Chefs,
is possible to rename a chef server?
Regards,
Eduardo
http://www.youtube.com/watch?v=wI7RIRQvEXs
On a more serious note do you mean the hostname or the name the nodes
connect to? If you mean the name the nodes connect to yes you can do
it wholesale with some magic using the chef-client cookbook.GitHub - chef-boneyard/chef-client: Development repository for Chef Client cookbook
If you mean the machine and it's a *nix machine:
$ hostname susan.getchef.com
Doesn't matter what hostname you connect to as far as the clients are
concerned. SSL/TLS certificates might be a gotcha of course.Windows it's probably Start -> Run -> Control panel etc
I guess you probably need to clarify your question though?
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Atenciosamente,
Eduardo
On Thu, Jan 23, 2014 at 11:23 PM, Eduardo Dias eduardodiasbr@gmail.com wrote:
Hi Andy,
thanks for reply.
I want to clone my chef server and change the name.
It is a Linux server.
I changed the hostname,recreated the ca certificates and run chef-server-ctl
reconfigure.Does have any other action to do? or this type of change is not supported?
No that all sounds sensible. You can regenerate the validation.pem in
the webui if you need to. Otherwise there's no reason I can think of
why that shouldn't work. Was certainly all I did when I did it to a
Chef 10 server I think.
Does it work?
--
Andy Gale
Hi Andy,
I will test it, but now I donĀ“t have much time, them I decided to create
from scratch.
Thanks for your help.
Regards,
Eduardo
2014/1/23 Andy Gale andy@salgo.net
On Thu, Jan 23, 2014 at 11:23 PM, Eduardo Dias eduardodiasbr@gmail.com
wrote:Hi Andy,
thanks for reply.
I want to clone my chef server and change the name.
It is a Linux server.
I changed the hostname,recreated the ca certificates and run
chef-server-ctl
reconfigure.Does have any other action to do? or this type of change is not
supported?No that all sounds sensible. You can regenerate the validation.pem in
the webui if you need to. Otherwise there's no reason I can think of
why that shouldn't work. Was certainly all I did when I did it to a
Chef 10 server I think.Does it work?
--
Andy Gale
http://andy-gale.com
http://twitter.com/andygale
--
Atenciosamente,
Eduardo