Book Image

Learning SaltStack

By : Colton Myers
Book Image

Learning SaltStack

By: Colton Myers

Overview of this book

Table of Contents (15 chapters)

Index

A

  • add-apt-repository command / Installation with system packages (Ubuntu)

B

  • base environment
    • expanding / Expanding our base environment
  • basic architecture, Salt deployment / Introducing Salt

C

  • clone Salt Git Repository
    • URL / Exploring the source
  • cloud provider configuration
    • creating / Creating a cloud provider configuration
  • cloud VM profiles
    • creating / Creating cloud VM profiles
  • command-line options, remote execution command / Command-line options
  • compound matching / Compound matching
  • custom code
    • events, firing from / Firing events from custom code

D

  • dependencies, for running Salt / Installing Salt
  • dependencies, with requisites
    • about / Dependencies using requisites
    • require / The require requisite
    • watch / The watch requisite
    • onfail / Other requisites
    • onchanges / Other requisites
    • prereq / Other requisites
    • use / Other requisites
    • _in / The _in requisites

E

  • environments, highstate / Environments
  • environments, in pillar / Environments in pillar
  • events
    • about / The Salt event system
    • listening for / Listening for events
    • structure / Event structure
    • firing, from Salt / Firing events from Salt
    • firing, from custom code / Firing events from custom code
    • reacting to / Reacting to events
  • execution modules
    • advanced cross-calling / Cross-calling execution modules
    • advanced example / An advanced example

F

  • firewall configuration, Salt / Firewall configuration
  • Fully-Qualified Domain Name (FQDN) / Salt minion configuration

G

  • Git
    • states, storing in / Storing our states in Git with GitFS
  • GitFS
    • states, storing in Git / Storing our states in Git with GitFS
    • URL, for tutorials / Storing our states in Git with GitFS
  • glob matching / Glob matching
  • glob targeting / Glob matching
  • grain matching / Grain and pillar matching
  • grains / Grains
    • about / Grains and the __virtual__ function
  • groups of VMs
    • managing, with MAP files / Managing groups of VMs with map files

H

  • highstate
    • about / The highstate
    • environments / Environments

I

  • installation, Salt / Installing Salt
    • with system packages (Ubuntu) / Installation with system packages (Ubuntu)
    • with Salt-Bootstrap / Installing with Salt-Bootstrap
  • iptables
    • about / Firewall configuration

J

  • Jinja2
    • about / Jinja2
    • used, for making states platform-agnostic / Jinja2
    • using, in Salt / apache2 or httpd?

L

  • Linode
    • setting up / Setting up Linode
    • URL / Setting up Linode
    • API key, creating for account / Creating an API key
  • list matching / List matching

M

  • MAP files
    • groups of VMs, managing with / Managing groups of VMs with map files
    • new masters, creating with / Creating new masters with map files
  • Masterless Salt
    • about / Masterless Salt
  • masters
    • creating, with MAP files / Creating new masters with map files
  • minion
    • adding / Adding a new minion
  • minion key
    • accepting, on master / Accepting the minion key on the master
  • multiple pieces of state
    • expanding, for encompassing / Expanding to encompass multiple pieces of state

O

  • onchanges requisite / Other requisites
  • onfail requisite / Other requisites
  • options, Salt command
    • --versions-report / Command-line options
    • -t TIMEOUT / Command-line options
    • --timeout=TIMEOUT / Command-line options
    • --async / Command-line options
    • -v / Command-line options
    • --verbose / Command-line options
    • --show-timeout / Command-line options
    • --summary / Command-line options

P

  • Perl-compatible regular expression matching / Perl-compatible regular expression matching
  • Perl-compatible regular expressions (PCRE) / Perl-compatible regular expression matching
  • Personal Package Archive (PPA)
    • about / Installation with system packages (Ubuntu)
  • pillar / Pillars
    • secure minion-specific data, defining in / Defining secure minion-specific data in pillar
    • about / Defining secure minion-specific data in pillar
  • pillar data
    • using, in states / Using pillar data in states
  • pillar matching / Grain and pillar matching
  • ping pong game / A game of ping pong

R

  • RAET
    • about / Firewall configuration
  • regular expressions
    • reference link / Perl-compatible regular expression matching
  • remote execution command
    • structure / The structure of a remote execution command
    • command-line options / Command-line options
    • string, targeting / Targeting strings
  • remote execution module
    • about / Remote execution modules and functions
    • users, adding / Adding users
    • packages, installing / Installing packages
    • services, managing / Managing services
    • minion state, monitoring / Monitoring minion states
    • arbitrary commands, running / Running arbitrary commands
  • require requisite / The require requisite
  • requisites
    • about / Dependencies using requisites
  • ReStructured Text (RST) / Exploring the source

S

  • Salt
    • installing / Installing Salt
    • installing, with system packages (Ubuntu) / Installation with system packages (Ubuntu)
    • installing, with Salt-Bootstrap / Installing with Salt-Bootstrap
    • version information / Installing with Salt-Bootstrap
    • URL, for documentation / Firewall configuration, Accepting the minion key on the master
    • URL, for match types / Compound matching
    • reference link, for modules / Grains and the __virtual__ function
    • events, firing from / Firing events from Salt
  • Salt's Python API
    • URL / Firing events from custom code
  • Salt-Bootstrap
    • about / Installing Salt
    • Salt, installing with / Installing with Salt-Bootstrap
  • Salt Cloud
    • about / Setting up Salt Cloud
    • setting up / Setting up Salt Cloud
    • cloud provider configuration, creating / Creating a cloud provider configuration
    • URL, for documentation / Creating a cloud provider configuration
    • cloud VM profiles, creating / Creating cloud VM profiles
    • machines, creating / Create and destroy machines
    • machines, destroying / Create and destroy machines
  • Salt configuration
    • about / Configuring Salt
    • firewall configuration / Firewall configuration
    • Salt minion configuration / Salt minion configuration
    • Salt master, starting / Starting the Salt master and Salt minion
    • Salt minion, starting / Starting the Salt master and Salt minion
    • minion key, accepting on master / Accepting the minion key on the master
  • Salt documentation
    • URL, for examples / The pieces of a state declaration
    • URL, for requisites / Other requisites
  • Salt event system
    • about / The Salt event system
    • listening, for events / Listening for events
    • event structure / Event structure
    • events, firing from Salt / Firing events from Salt
    • events, firing from custom code / Firing events from custom code
  • Salt Master
    • about / Introducing Salt
  • Salt master
    • starting / Starting the Salt master and Salt minion
  • Salt minion
    • starting / Starting the Salt master and Salt minion
  • Salt Minion
    • about / Introducing Salt
  • Salt minion configuration
    • about / Salt minion configuration
  • Salt source script, GitHub
    • URL / Listening for events
  • SaltStack
    • URL, for major Linux distributions / Installing with Salt-Bootstrap
    • URL, for documentation / Installing with Salt-Bootstrap, Remote execution modules and functions
  • SaltStack team
    • URL / Installing Salt
  • secure minion-specific data
    • defining, in pillar / Defining secure minion-specific data in pillar
  • source, exploring
    • about / Exploring the source
    • execution modules, cross-calling / Cross-calling execution modules
    • grains / Grains and the __virtual__ function
    • __virtual__function / Grains and the __virtual__ function
    • return data, reformatting / Reformatting return data
  • source code, exploring
    • __opts__ and __pillar__ functions / The__opts__ and __pillar__ functions
  • state
    • defining, of infrastructure / Our first state
  • state declaration
    • pieces / The pieces of a state declaration
  • states
    • pillar data, using in / Using pillar data in states
    • storing, in Git with GitFS / Storing our states in Git with GitFS
  • string targeting
    • about / Targeting strings
    • glob matching / Glob matching
    • Perl-compatible regular expression matching / Perl-compatible regular expression matching
    • list matching / List matching
    • grain matching / Grain and pillar matching
    • pillar matching / Grain and pillar matching
    • compound matching / Compound matching
  • system packages (Ubuntu)
    • Salt, installing with / Installation with system packages (Ubuntu)

T

  • test module
    • reference link / Exploring the source

U

  • use requisite / Other requisites

W

  • watch requisite / The watch requisite

Y

  • Yet Another Markup Language (YAML)
    • about / Our first state
    • URL / Our first state

Z

  • Z shell (Zsh) / Expanding our base environment