Video description
Chef is a popular configuration management tool used to quickly automate an entire fleet of machines. Chef allows you to define repeatable administration patterns in code tailored to your organization's specific needs. While typically deployed in conjunction with a Chef Server, Chef expert Mischa Taylor shows the numerous applications for Chef that do not require a Chef Server.
You will start using Chef to do useful infrastructure automation immediately for your organization. In this course, he shows you how to use Chef to fully automate the configuration of a fleet of Linux and/or macOS development machines and how to validate the configuration "test first" with InSpec. Designed for learners with basic command line interface skills who are new to Chef, the infrastructure automation skills acquired in this course will be completely applicable when you're ready to take on Chef Server.
- Discover the practical application of Chef without the complexity of needing to configure a Chef Server
- Understand all the key components of Chef, including its programming language
- Explore InSpec, the testing and compliance language included with Chef
- Master skills transferrable to learning enterprise-oriented Chef Server
- Learn how to use Chef to install Chef
Table of contents
- Introduction
- Getting Started With The ChefDK
- Your First Chef Program
-
Getting Started With Test Kitchen
- Why Use Test Kitchen?
- Test Kitchen And Docker
- What If My Machine Can't Run Docker?
- What If I Want To Target Macos?
- Installing Docker On Linux
- Installing Docker On Macos
- Docker And Digitalocean
- Introducing Test Kitchen
- YAML Basics
- Validating YAML In Atom
- Test Kitchen Configuration File Format Overview
- Wrapping Up
- How Chef Discovers Information About A System
- Your First Cookbook - Message Of The Day
-
Managing Settings With Chef
- Why Does Chef Have An Attribute Store?
- Accessing And Storing Values
- Motd_Attributes Cookbook
- Automatic Values
- Setting Attributes In Recipes
- Setting Values In Attributes
- Basic Attribute Priority - Automatic Attributes Rule Them All
- Values In Recipes Override Attributes
- Last-In Wins At The Same Precedence Level
- What If I Have More Than One Attribute File?
- Composed Attributes
- Include_Recipe
- Override Precedence
- Attribute Driven Uninstalls
- Wrapping Up
- Cookbook Authoring And Use
- Cookbook Versioning
- Automated Validation With Inspec
- Compliance Profile Authoring And Use
- Compliance Profiles In Cookbooks
-
Capturing Machine Configurations With HashiCorp Packer
- Automating Config Of The OS Itself
- Host Versus Guest
- Host Setup
- Creating A Linux Desktop Virtual Machine
- Installing Ubuntu 16.04 Desktop
- Capturing The Linux Desktop VM With Packer
- Verifying The Linux Desktop VM
- Creating A Macos Virtual Machine
- Installing Macos
- Capturing The Macos VM With Packer
- Verifying The Macos VM
- Wrapping Up
-
Real-World Example: Manage Your Development Environment With Chef
- Why Use Chef To Chef Up Your Chef?
- Planning The Cookbooks
- Creating The Chef_Workstation Wrapper Cookbook
- Berkshelf And Dependency Management
- Introducing The Depends Statement And Semantic Versioning
- Performing Chef Runs Locally
- Git Cookbook
- Atom Cookbook
- ChefDK Cookbook
- Final Local Chef Run
- Wrapping Up
- Troubleshooting Chef
- Where To Go Next
Product information
- Title: Learning Chef for Linux and macOS
- Author(s):
- Release date: April 2017
- Publisher(s): Infinite Skills
- ISBN: 9781491959435
You might also like
video
Learning Linux Security
In this Learning Linux Security training course, expert author Ric Messier will teach you how to …
book
Mastering Linux Security and Hardening
A comprehensive guide to mastering the art of preventing your Linux system from getting compromised. Key …
video
Linux Command Line
5 + Hours of Video Instruction Overview The Linux Command Line Interface (CLI) is a powerful …
book
Pro Android C++ with the NDK
Android is one of the major players in the mobile phone market. Android is a mobile …