
- 350 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Salt Cookbook
About this book
If you are a professional associated with system and infrastructure management, looking at automated infrastructure and deployments, then this book is for you. No prior experience of Salt is required.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Salt Cookbook
Table of Contents
Salt Cookbook
Credits
About the Author
About the Reviewer
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
Downloading the example code
Errata
Piracy
Questions
1. Salt Architecture and Components
Introduction
Installing and configuring the Salt master
How to do it...
Installing the Salt master on RedHat/CentOS/Fedora
Installing the Salt master on Ubuntu
Configuring the Salt master
How it works...
See also
Configuring the Salt environment and pillar paths
How to do it...
How it works...
See also
Understanding and configuring Salt pillars
How to do it...
How it works...
See also
Understanding and writing Salt states
How to do it...
How it works...
See also
Understanding and writing the top file
How to do it...
How it works...
There's more…
See also
Installing and configuring the Salt minion
How to do it...
Installing the Salt minion on RedHat/CentOS/Fedora
Installing the Salt minion on Ubuntu
Configuring the Salt minion
How it works...
There's more...
The masterless minion
See also
Configuring environments and grains on the minion
How to do it...
Setting grains in /etc/salt/minion
Setting grains in /etc/salt/grains
How it works...
Setting grains in /etc/salt/minion
Setting grains in /etc/salt/grains
See also
Applying Salt states to minions
How to do it...
Applying states using the push mechanism from master to minion
Applying states using the pull mechanism by minion from master
How it works...
There's more...
Applying Salt states to masterless minions
See also
2. Writing Advanced Salt Configurations
Introduction
Writing and retrieving pillar data
How to do it...
How it works...
See also
Using pillar data in states
How to do it...
How it works...
There's more...
Including other pillars in the pillar file
Setting pillar data at the command line
See also
Using grains in states
How to do it...
How it works...
See also
Using conditionals in states and pillars
How to do it...
How it works...
See also
Using Python functions in conditionals
How to do it...
How it works...
See also
Using iterations in states
How to do it...
How it works...
See also
Setting and using variables in states
How to do it...
How it works...
See also
Testing a state run before applying to minions
How to do it...
How it works...
See also
Configuring nodegroups
How to do it...
How it works...
See also
Targeting minions
How to do it...
How it works...
See also
3. Modules, Orchestration, and Scaling Salt
Introduction
Using execution modules
How to do it...
How it works...
See also
Using state modules
How to do it...
How it works...
There's more…
See also
Configuring templates
How to do it...
How it works...
See also
Using requisites
How to do it...
How it works...
There's more…
See also
Using Salt runners
How to do it...
How it works...
See also
Orchestration with Salt orchestrate
How to do it...
How it works...
See also
Salt multi-master setup (active-active mode)
How to do it...
How it works...
See also
Salt multi-master setup (active-passive mode)
How to do it...
How it works...
See also
4. General Administration Tasks
Introduction
Running commands
How to do it...
How it works...
There's more…
See also
Setting host entries and grains
How to do it...
How it works...
See also
Setting time zone, locale, and kernel configurations
How to do it...
How it works...
See also
Handling archive files
How to do it...
How it works...
See also
Adding groups and users
How to do it...
How it works...
See also
Performing SSH authentication tasks
How to do it...
How it works...
See also
Scheduling jobs with cron
How to do it...
How it works...
See also
Managing volumes
How to do it...
How it works...
See also
Working with disks and mounts
How to do it...
How it works...
There's more…
See also
Managing network configurations
How to do it...
How it works...
See also
5. Advanced Administration Tasks
Introduction
Managing package repositories
How to do it...
How it works...
See also
Managing packages using the default package manager
How to do it...
How it works...
See also
Managing packages using rvm, gem, and pip
How to do it...
How it works...
See also
Managing files
How to do it...
How it works...
See also
Managing services
Ho...
Table of contents
- Salt Cookbook
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Salt Cookbook by Anirban Saha in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over one million books available in our catalogue for you to explore.