Learning SaltStack learn how to manage your infrastructure by utilizing the power of SaltStack
If you are a system administrator who manages multiple servers, then you know how difficult it is to keep your infrastructure in line. If you've been searching for an easier way, this book is for you. No prior experience with SaltStack is required.
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, England :
Packt Publishing
2015.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629238606719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Diving In - Our First Salt Commands; Introducing Salt; Installing Salt; Installation with system packages (Ubuntu); Installing with Salt-Bootstrap; Configuring Salt; Firewall configuration; Salt minion configuration; Starting the Salt master and Salt minion; Accepting the minion key on the master; A game of ping pong; Masterless Salt; Summary; Chapter 2: Controlling Your Minions with Remote Execution; The structure of a remote execution command; Command-line options
- Targeting stringsGlob matching; Perl-compatible regular expression matching; List matching; Grain and pillar matching; Compound matching; Remote execution modules and functions; Adding users; Installing packages; Managing services; Monitoring minion states; Running arbitrary commands; Summary; Chapter 3: Execution Modules - Write Your Own Solution; Exploring the source; Cross-calling execution modules; Grains and the __virtual__ function; The__opts__ and __pillar__ functions; Reformatting return data; An advanced example; Summary; Chapter 4: Defining the State of Your Infrastructure
- Our first stateThe pieces of a state declaration; Expanding to encompass multiple pieces of state; Dependencies using requisites; The require requisite; The watch requisite; Other requisites; The _in requisites; Summary; Chapter 5: Expanding Our States with Jinja2 and Pillar; Adding a new minion; Jinja2; apache2 or httpd?; Defining secure minion-specific data in pillar; Using pillar data in states; Summary; Chapter 6: The Highstate and Environments; The highstate; Environments; Environments in pillar; Expanding our base environment; Storing our states in Git with GitFS; Summary
- Chapter 7: Using Salt Cloud to Manage Virtual MinionsSetting up Salt Cloud; Setting up Linode; Creating an API key; Creating a cloud provider configuration; Creating cloud VM profiles; Create and destroy machines; Managing groups of VMs with map files; Creating new masters with map files; Summary; Chapter 8: The Reactor and the Event System; The Salt event system; Listening for events; Event structure; Firing events from Salt; Firing events from custom code; Reacting to events; Summary; Index