Managing Windows Servers with Chef Book TOC – Free Books Download PDF

Managing Windows Servers with Chef Book TOC – Free Books Download PDF
Download PDF Click Here

Chapter 1: Chef and Windows

Working with Windows

Interacting with end hosts

Bootstrapping Windows hosts

Scaling with cloud providers

Scripting with PowerShell

Integrating with Linux-based systems

Working with Windows-specific resources

Supported platforms

Summary

Chapter 2: Installing the Client – an Overview of Chef Concepts

Getting to know Chef better

An overview of Chef’s architecture

Installing the Chef client on Windows

Preparing to bootstrap Windows hosts

Enabling Windows Remote Management

Configuring firewall ports

Enabling basic authentication

Bootstrapping a Windows host

Installing via MSI

Summary

Chapter 3: Windows-specific Resources

Working with Windows-specific resources

Platforms supported by Chef

Managing roles and features

Installing roles using different mechanisms

Executing batch scripts

Running scripts at startup

Installing software packages

Manipulating printers

Managing printer ports

Managing printers

Interacting with the Windows Registry

The Chef 10.x resource

The Chef 0.11.x resource

Managing the system path

Scheduling tasks

Interacting with Windows pagefiles

ZIP files

Rebooting Windows

Summary

Chapter 4: Provisioning an Application Stack

Examining the cookbook

Installing the cookbook

Fetching from GitHub

Examining the recipe

Installing the prerequisites

Preparing the IIS service

Fetching the application

Configuring the application

Generating an IIS pool and site

Performing the installation

Bootstrapping the host

Creating the role

Applying the role to the node

Summary

Chapter 5: Managing Cloud Services with Chef

Working with Microsoft Azure

Downloading the management certificate

Configuring knife for Azure

Creating a new Azure virtual machine

Bootstrapping your Azure node

Creating a reusable image

Managing Amazon EC2 instances

Installing the EC2 knife plugin

Setting up EC2 authentication

Provisioning an EC2 instance

Executing custom user scripts in EC2

Writing the user script

Providing a custom user script

Removing the Chef node

Interacting with Rackspace Cloud

Provisioning a Rackspace instance

Injecting configuration into the virtual machine

Terminating the instance

Removing the Chef node

Summary

Chapter 6: Going Beyond the Basics

Chef’s declarative language

Handling multiple platforms

Declaring support in your cookbook

Multiplatform recipes

Reducing complexity

Versioning and source control

Testing recipes

RSpec and ChefSpec

Testing basics

RSpec

ChefSpec

Executing tests

Understanding failure

Expanding your tests