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 Windows-specific resources


As might be expected by most systems administrators, managing Windows means that there are resources and configuration data that are not available to non-Windows systems. A list of those resources includes the following:

  • Roles and features

  • Batch scripts

  • Autorun scripts

  • Software packages (MSIs, installers, and so on)

  • Printers

  • Registry manipulation

  • Paths

  • Tasks (requires Windows Server 2008)

  • Pagefiles

  • System reboots

  • ZIP files

Platforms supported by Chef

Not all versions of Windows are supported by Chef, and not all functionality is supported on all platforms. A list of Windows versions known to work with Chef is as follows:

  • Windows XP

  • Windows Vista

  • Windows Server 2003 R2

  • Windows 7

  • Windows Server 2008

  • Windows Server 2012

These resources are provided by the windows cookbook (https://github.com/opscode-cookbooks/windows) and behave like any other Chef resource apart from the fact that they are platform-specific resources and have no providers on non-Windows systems. Let's take...