How to add a new node in Chef

Starting with Hosted Chef is not easy, the first question is often how do I add a new node? You don’t need to do anything on the client, just run the knife bootstrap command on the workstation, it will take care of installing all needed packages on the client. The command will look like

knife bootstrap <server_address> -x <server_username> -N <name_for_the_client> -i <ssh_certificate> --sudo

The whole process is called bootstrapping and once you know that you can easily find all the options you need: http://docs.opscode.com/knife_bootstrap.html

How to add a new node in Chef
Share this