更新时间:2021-07-02 16:29:44
coverpage
Mastering Chef Provisioning
Credits
Foreword
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Setting Up a Development Environment on Your Workstation
Re-introducing Chef
Filling in the gaps in your Chef knowledge base
Exploring the Chef Development Kit
Installing Chef Development Kit
Setting up a standard Chef repo
What else do you need?
What is chef-apply?
Summary
Chapter 2. Knife Tooling and Plugins
Knife help
Knife subcommands
Knife to editor integration
Knife Windows plugin
Knife EC2 plugin
Creating new Knife plugins
Chapter 3. Leveraging Roles Environments and Policies
Using Chef roles
Using Chef environments
Using Chef organizations
Learning the attribute precedence hierarchy
Exploring policies
Chapter 4. Custom Resources
Out with the old (LWRPs) in with the new (Custom Resources)
Creating an example use case
Creating and using a Custom Resource
Making a Custom Resource more reusable
Subclassing a Custom Resource
Chapter 5. Provisioning in the Traditional Data Center
VMware provisioning
OpenStack provisioning
Network automation
Chapter 6. Provisioning in the Cloud
Provisioning AWS EC2 instances
Provisioning Microsoft Azure instances
Provisioning in the Google Cloud platform
Looking at an honorable mention – Linode
Provisioning containers in Docker
Chapter 7. Test-Driven Development
Analyzing cookbooks with RuboCop
Analyzing cookbooks with Foodcritic
Unit testing with ChefSpec
Integration testing with Kitchen and ServerSpec
Chapter 8. Using Chef Provisioning
What is Chef provisioning?
How to use Chef Provisioning
Index