Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

Index
Chef Infrastructure Automation Cookbook Second Edition
Table of Contents Chef Infrastructure Automation Cookbook Second Edition Credits About the Author About the Reviewers www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe? Free access for Packt account holders
Preface
What this book covers What you need for this book Who this book is for Sections
Getting ready How to do it… How it works… There's more… See also
Conventions Reader feedback Customer support
Errata Piracy Questions
1. Chef Infrastructure
Introduction Using version control
Getting ready How to do it... How it works... There's more... See also
Installing the Chef development kit on your workstation
How to do it... How it works... See also
Using the hosted Chef platform
Getting ready How to do it... How it works... There's more... See also
Managing virtual machines with Vagrant
Getting ready How to do it... How it works... There's more... See also
Creating and using cookbooks
Getting ready How to do it... How it works... See also
Inspecting files on your Chef server with knife
Getting ready How to do it... How it works... There's more... See also
Defining cookbook dependencies
Getting ready How to do it... How it works... There's more... See also
Managing cookbook dependencies with Berkshelf
Getting ready How to do it... How it works... There's more... See also
Downloading and integrating cookbooks as vendor branches into your Git repository
Getting ready How to do it... How it works... There's more... See also
Using custom knife plugins
Getting ready How to do it... How it works... There's more... See also
Deleting a node from the Chef server
Getting ready How to do it... How it works... There's more... See also
Developing recipes with local mode
Getting ready How to do it... How it works... There's more...
Running knife in local mode Moving to hosted Chef or your own Chef server
See also
Using roles
Getting ready How to do it... How it works... See also
Using environments
Getting ready How to do it... How it works... There's more... See also
Freezing cookbooks
Getting ready How to do it... How it works... There's more... See also
Running Chef client as a daemon
Getting ready How to do it... How it works... There's more...
Using chef-shell
How to do it... How it works... There's more... See also
2. Evaluating and Troubleshooting Cookbooks and Chef Runs
Introduction Testing your Chef cookbooks
Getting ready How to do it... How it works... There's more... See also
Flagging problems in your Chef cookbooks
Getting ready How to do it... How it works... There's more... See also
Test-driven development for cookbooks using ChefSpec
Getting ready How to do it... How it works... There's more... See also
Integration testing your Chef cookbooks with Test Kitchen
Getting ready How to do it... How it works... There's more... See also
Showing affected nodes before uploading cookbooks
Getting ready How to do it... How it works... See also
Overriding a node's run list to execute a single recipe
Getting ready How to do it... How it works... See also
Using why-run mode to find out what a recipe might do
Getting ready How to do it... How it works... See also
Debugging Chef client runs
Getting ready How to do it... How it works... There's more... See also
Inspecting the results of your last Chef run
Getting ready How to do it... How it works... See also
Raising and logging exceptions in recipes
Getting ready How to do it... How it works... There's more... See also
Diff-ing cookbooks with knife
Getting ready How to do it... How it works... There's more... See also
Using community exception and report handlers
Getting ready How to do it... How it works... There's more... See also
Creating custom handlers
Getting ready... How to do it... How it works... There's more... See also
3. Chef Language and Style
Introduction Using community Chef style
Getting ready How to do it... How it works... There's more... See also
Using attributes to dynamically configure recipes
Getting ready How to do it... How it works... There's more...
Calculating values in the attribute files
See also
Using templates
Getting ready How to do it... How it works... There's more... See also
Mixing plain Ruby with Chef DSL
Getting ready How to do it... How it works... There's more... See also
Installing Ruby gems and using them in recipes
Getting ready How to do it... How it works... See also
Using libraries
Getting ready How to do it... How it works... There's more... See also
Using definitions
Getting ready How to do it... How it works... There's more... See also
Creating your own Lightweight Resource Providers (LWRP)
Getting ready How to do it... How it works... There's more... See also
Extending community cookbooks by using application wrapper cookbooks
Getting ready How to do it... How it works... There's more... See also
Creating custom Ohai plugins
Getting ready How to do it... How it works... There's more... See also
Creating custom knife plugins
Getting ready How to do it... How it works... There's more... See also
4. Writing Better Cookbooks
Introduction Setting the environment variables
Getting ready How to do it... How it works... There's more... See also
Passing arguments to shell commands
Getting ready How to do it... How it works... There's more... See also
Overriding attributes
Getting ready How to do it... How it works... There's more... See also
Using search to find nodes
Getting ready How to do it... How it works... There's more...
Using knife to search for nodes Searching for arbitrary node attributes Using Boolean operators in search
See also
Using data bags
Getting ready How to do it... How it works... See also
Using search to find data bag items
Getting ready How to do it... How it works... There's more... See also
Using encrypted data bag items
Getting ready How to do it... How it works... There's more...
Using a private key file
See also
Accessing data bag values from external scripts
Getting ready How to do it... How it works... There's more... See also
Getting information about the environment
Getting ready How to do it... How it works... There's more... See also
Writing cross-platform cookbooks
Getting ready How to do it... How it works... There's more...
Avoiding case statements to set values based on the platform Declaring support for specific operating systems in your cookbook's metadata
See also
Finding the complete list of operating systems you can use in cookbooks
How to do it... How it works... There's more... See also
Making recipes idempotent by using conditional execution
Getting ready How to do it... How it works... There's more... See also
5. Working with Files and Packages
Introduction Creating configuration files using templates
Getting ready How to do it... How it works... There's more... See also
Using pure Ruby in templates for conditionals and iterations
Getting ready How to do it... How it works... There's more... See also
Installing packages from a third-party repository
Getting ready How to do it... How it works... See also
Installing software from source
Getting ready How to do it... How it works... There's more... See also
Running a command when a file is updated
Getting ready How to do it... How it works... There's more... See also
Distributing directory trees
Getting ready How to do it... How it works... There's more... See also
Cleaning up old files
Getting ready How to do it... How it works... There's more... See also
Distributing different files based on the target platform
Getting ready How to do it... How it works... See also
6. Users and Applications
Introduction Creating users from data bags
Getting ready How to do it... How it works... There's more... See also
Securing the Secure Shell Daemon (SSHD)
Getting ready How to do it... How it works... There's more... See also
Enabling passwordless sudo
Getting ready How to do it... How it works... There's more... See also
Managing NTP
Getting ready How to do it... How it works... There's more... See also
Managing nginx
Getting ready How to do it... How it works... There's more... See also
Creating nginx virtual hosts
Getting ready How to do it... How it works... There's more... See also
Creating MySQL databases and users
Getting ready How to do it... How it works... There's more... See also
Managing WordPress sites
Getting ready How to do it... How it works... There's more... See also
Managing Ruby on Rails applications
Getting ready How to do it... How it works... There's more... See also
Managing Varnish
Getting ready How to do it... How it works... There's more... See also
Managing your local workstation
Getting ready How to do it... How it works... There's more... See also
7. Servers and Cloud Infrastructure
Introduction Creating your infrastructure using Chef Provisioning
Getting ready How to do it... How it works... There's more... See also
Creating cookbooks from a running system with Blueprint
Getting ready How to do it... How it works... There's more... See also
Running the same command on many machines at once
How to do it... How it works... There's more... See also
Setting up SNMP for external monitoring services
Getting ready How to do it... How it works... There's more... See also
Deploying a Nagios monitoring server
Getting ready How to do it... How it works... There's more... See also
Building high-availability services using heartbeat
Getting ready How to do it... How it works... There's more... See also
Using HAProxy to load-balance multiple web servers
Getting ready How to do it... How it works... See also
Using custom bootstrap scripts
Getting ready How to do it... How it works... There's more... See also
Managing firewalls with iptables
Getting ready How to do it... How it works... See also
Managing fail2ban to ban malicious IP addresses
Getting ready How to do it... How it works... There's more... See also
Managing Amazon EC2 instances
Getting ready How to do it... How it works... There's more... See also
Loading your Chef infrastructure from a file with spiceweasel and knife
Getting ready How to do it... How it works... There's more... See also
Index
  • ← Prev
  • Back
  • Next →
  • ← Prev
  • Back
  • Next →

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion