Book description
Over 80 hands-on recipes to efficiently configure and manage your infrastructure with Salt
In Detail
Salt has become one of the major players in automation and configuration management solutions
This book starts with the basics of the tool, the procedures to get up and running with Salt and then moves on to configuring very simple but important details to receive optimal performance from the tool. It also walks you through Salt configurations for different infrastructure components and the details of the Salt modules for each of the components. The book also provides some common problem scenarios and how to troubleshoot them.
With detailed configuration, their explanation and command line outputs of the module execution, Salt Cookbook will help you to get up and running with Salt for all your infrastructural needs.
What You Will Learn
- Understand the basic Salt architecture and components and learn how to configure them
- Understand and configure advanced Salt components and manipulate configurations
- Configure Salt modules, the orchestration procedure and set up multi-master configurations
- Configure operating system components such as files, users, volumes, authentication, and so on
- Leverage the cloud capabilities of Salt
- Understand and configure the Salt event and reactor system
Table of contents
-
Salt Cookbook
- Table of Contents
- Salt Cookbook
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
-
1. Salt Architecture and Components
- Introduction
- Installing and configuring the Salt master
- Configuring the Salt environment and pillar paths
- Understanding and configuring Salt pillars
- Understanding and writing Salt states
- Understanding and writing the top file
- Installing and configuring the Salt minion
- Configuring environments and grains on the minion
- Applying Salt states to minions
-
2. Writing Advanced Salt Configurations
- Introduction
- Writing and retrieving pillar data
- Using pillar data in states
- Using grains in states
- Using conditionals in states and pillars
- Using Python functions in conditionals
- Using iterations in states
- Setting and using variables in states
- Testing a state run before applying to minions
- Configuring nodegroups
- Targeting minions
- 3. Modules, Orchestration, and Scaling Salt
-
4. General Administration Tasks
- Introduction
- Running commands
- Setting host entries and grains
- Setting time zone, locale, and kernel configurations
- Handling archive files
- Adding groups and users
- Performing SSH authentication tasks
- Scheduling jobs with cron
- Managing volumes
- Working with disks and mounts
- Managing network configurations
- 5. Advanced Administration Tasks
- 6. Managing Application Servers
- 7. Managing Databases
- 8. Configuring Salt Cloud
- 9. Managing Amazon Web Services
- 10. Salt Event and Reactor System
- 11. Troubleshooting
- Index
Product information
- Title: Salt Cookbook
- Author(s):
- Release date: July 2015
- Publisher(s): Packt Publishing
- ISBN: 9781784399740
You might also like
book
Salt Essentials
Get a complete introduction to Salt, the widely used Python-based configuration management and remote execution tool. …
book
Python Cookbook, 3rd Edition
If you need help writing programs in Python 3, or want to update older Python 2 …
book
Introducing Python, 2nd Edition
Easy to understand and fun to read, this updated edition of Introducing Python is ideal for …
book
Algorithms, 4th Edition
This fourth edition of Robert Sedgewick and Kevin Wayne’s Algorithms is the leading textbook on algorithms …