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
Publisher resources
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
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …
video
Learn Flutter and Dart to Build iOS and Android Apps (2023)
What makes Flutter the best framework to build mobile apps? With Flutter, you can build mobile …
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
Infrastructure as Code, 2nd Edition
Six years ago, Infrastructure as Code was a new concept. Today, as even banks and other …