Limit search to available items
Book Cover
E-book
Author Sebenik, Craig, author

Title Salt essentials / Craig Sebenik and Thomas Hatch
Edition First edition
Published Sebastopol, CA : O'Reilly, 2015

Copies

Description 1 online resource : color illustrations
Contents Copyright -- Table of Contents -- Preface -- Who Should Read This Book -- Why We Wrote This Book -- What This Book Is Not -- A Word on Salt Today -- Navigating This Book -- Online Resources -- Conventions Used in This Book -- Using Code Examples -- SafariĀ® Books Online -- How to Contact Us -- Acknowledgments -- Chapter 1. Introduction -- What Is Salt? -- High-Level Architecture -- Some Quick Examples -- System Management -- Configuration Management -- A Brief History -- Topology Options -- Extending Salt
Chapter 2. Quick Start: First Taste of SaltSingle-Master Setup -- From Packages -- Bootstrap Script -- Starting Up -- Basic Commands -- salt: The Main Workhorse -- salt-key: Key Management -- salt-call: Execution on the Minion -- salt-run: Coordination of Jobs on the Master -- Summary of Commands -- Key Management -- Viewing Keys -- Accepting Keys -- Rejecting Keys -- Key Files -- Minion Targeting -- Minion ID -- List ( -L) -- Glob -- Regular Expression ( -E) -- Grains ( -G) -- Compound ( -C) -- Targeting Summary
Additional Remote Execution DetailsConclusion -- Chapter 3. Execution Modules: The Functional Foundation -- sys: Information and Documentation About Modules -- sys.doc Basic Documentation -- sys.list_modules, sys.list_functions: Simple Listings -- cmd: Execute Via a Shell -- cmd.run: Run Any Command -- pkg: Manage Packages -- Virtual Modules -- pkg.list_pkgs: List All Installed Packages -- pkg.available_version: See What Version Will Be Installed -- pkg.install: Install Packages -- user: Manage Users -- user.add: Add Users
User.list_users, user.info: Get User Infosaltutil: Access Various Salt Utilities -- Summary -- Chapter 4. Configuration Management: Salt States -- State File Overview -- SLS Example: Adding a User -- Working with the Multilayered State System -- Highstate and the Top File -- The Top File -- State Ordering -- require: Depend on Another State -- watch: Run Based on Other Changes -- Odds and Ends -- Summary -- Chapter 5. Minion Data/Master Data -- Grains Are Minion Data -- Performing Basic Grain Operations -- Setting Grains
Targeting with Grains in the Top FilePillars Are Data from the Master -- Querying Pillar Data -- Querying Other Sources with External Pillars -- Renderers Give Data Options -- Chapter 6. Extending Salt: Part I -- Introduction to Jinja -- Jinja Basics -- Templating with Jinja -- Filtering by Grains -- Custom Execution Module -- Custom State Modules -- Custom Grains -- External Pillars -- Summary -- Chapter 7. More on the Master -- Runners -- Manage Minions -- Manage Jobs -- The orchestrate Runner -- The Event System -- The Reactor System
Summary Get a complete introduction to Salt, the widely used Python-based configuration management and remote execution tool. This practical guide not only shows system administrators how to manage complex infrastructures with Salt, but also teaches developers how to use Salt to deploy and manage their applications. Written by two Salt experts, this book provides the information you need to deploy Salt in a production infrastructure right away. You'll also learn how to customize Salt and use salt-cloud to manage your virtualization. If you have experience with Linux and data formats such as JSON or XML, you're ready to get started. Understand what Salt can do, and get a high-level overview of basic commands Learn how execution modules let you interact with many systems at once Use states to define how you want a host or a set of hosts to look Dive into grains and pillars, Salt's basic data elements Control your infrastructure programmatically by extending Salt Master's functionality Extend Salt with custom modules, the Jinja templating language, and Python scripts
Notes Includes index
Online resource; title from PDF title page (EBSCO, viewed June 25, 2015)
Subject Software configuration management -- Computer programs
COMPUTERS -- Programming -- Open Source.
COMPUTERS -- Software Development & Engineering -- Tools.
COMPUTERS -- Software Development & Engineering -- General.
Form Electronic book
Author Hatch, Thomas (Thomas S.), author.
ISBN 9781491919644
1491919647
9781491919637
1491919639
9781491914427
1491914424
1491900636
9781491900635
Other Titles Subtitle on cover: Getting started with automation at scale