The first thing we want to do when working with Chef is to get the Chef client actually bootstrapped on the targeted remote server. For the Chef client to be able to apply Chef code, it first needs to be configured and registered on the Chef server. Thankfully, this can be very easily done.
To work through this recipe, you will need the following:
Let's say we already have a server running somewhere available with a user. The minimal command line we can build is as follows: