Book Image

Managing Windows Servers with Chef

By : John Ewart
Book Image

Managing Windows Servers with Chef

By: John Ewart

Overview of this book

<p>This book begins with an introduction to the functionality and benefits of using Chef to manage Windows systems. From there, you are shown an overview of the Chef architecture and how to prepare a Windows host so that it can be managed by Chef, followed by an example of writing code to install a popular .NET application with Chef.<br /><br />This book looks at how Windows system administrators can effectively leverage Chef as an automated system management tool to simplify their lives through managed infrastructure. Included are practical examples that will help you to understand how to take advantage of Chef when managing your infrastructure.<br /><br />By the end of the book, you will be able to deploy software, provision hosts (including cloud servers), develop and test recipes for multiple platforms, and manage Windows hosts using the powerful tools that Chef provides.</p>
Table of Contents (13 chapters)

Working with Microsoft Azure


Azure is Microsoft's competitor to EC2 and Rackspace Cloud. Any of the three will provide you with Windows virtualization, so included in this chapter is the information on how to integrate Azure with Chef.

The knife-azure gem provides the functionality needed to control your Azure account via the knife utility. Chef uses plugins to provide the extended functionality, including managing cloud services. Support for Azure is present in a Ruby gem named knife-azure and is installed via the gem command-line utility as follows:

gem install knife-azure

This command will install all the gems that knife-azure is dependent upon, not just Chef alone.

Tip

As of this writing, the knife-azure gem has a dependency on an older version of bundler, which can cause issues and may require that you manually downgrade the version of bundler that is installed. Using RVM or another Ruby manager will help isolate these issues and allow you to manage your gems.

Downloading the management...