Managing Windows Servers with Chef / John Ewart.
Publication details: Birmingham, England : Packt Publishing, 2014.; Birmingham, England : Packt Publishing ;, 2014.Description: 1 online resourceISBN:- 9781783982431
- 9781306823449
- 9781783982424
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; 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; Overview of Chef's architecture; Installing the Chef client on Windows; Preparing to bootstrap Windows hosts.
Enabling Windows Remote ManagementConfiguring 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 tasksInteracting 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 certificateConfiguring 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 BasicsChef'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; Summary; Index.
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; 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; Overview of Chef's architecture; Installing the Chef client on Windows; Preparing to bootstrap Windows hostsEnabling Windows Remote ManagementConfiguring 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 pac ...
In Detail 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. 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. 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. Approach This is a guide to automating Windows infrastructures using Chef, from the big picture through to hands-on examples. Who this book is for This book is designed for systems administrators who have had some exposure to Chef and are interested using it to manage their Windows-based systems. Some exposure to programming or scripting languages is expected for portions of this book.
English.
There are no comments on this title.