From the course: Learning Chef

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Deploy the haproxy cookbook

Deploy the haproxy cookbook

From the course: Learning Chef

Start my 1-month free trial

Deploy the haproxy cookbook

- [Instructor] Now that you've written the default recipe for your load balancer cookbook, myhaproxy, and uploaded it to your Chef server, we're ready to bootstrap a new node. You might check and make sure you've got all these pieces in place. At this point, we left off running a knife cookbook list in order to make sure that our cookbooks are all on the Chef server and available. You'll see myhaproxy is listed at the 0.1.0 version. Now, I also want to make sure my nodes are ready. You'll see when running knife node list that I have two web servers, the same ones that I've plugged in, their public host names and public IP addresses to our myhaproxy cookbook. Now I'm ready to bootstrap a new node. Do you remember the bootstrapping process? To bootstrap a node, remember, we use the knife bootstrap command and supply the FQDN or the public IP address for this new node. We'll also need to authenticate to it, specify the --sudo option, and we'll give our node a name. I'm going to call it…

Contents