Extending Saltstack extend the power of your infrastructure and applications with Salt modules
Extend the power of your infrastructure and applications with Salt modules About This Book Get the most up-to-date practical resource on writing new Salt modules and extending Salt Learn through use cases and encounter both commonly-used modules as well as advanced ones Effectively troubleshoot prob...
Otros Autores: | , |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2016.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630005506719 |
Tabla de Contenidos:
- Cover ; Copyright; Credits; Foreword; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Starting with the Basics ; Chapter 2: Writing Execution Modules ; Chapter 3: Extending Salt Configuration ; Chapter 4: Wrapping States Around Execution Modules ; Chapter 5: Rendering Data; Chapter 6: Handling Return Data ; Chapter 7: Scripting with Runners ; Chapter 8: Adding External File Servers ; Chapter 9: Connecting to the Cloud ; Chapter 10: Monitoring with Beacons ; Chapter 11: Extending the Master ; Appendix A : Connecting Different Modules
- Appendix B: Contributing Code Upstream Index; Untitled; Using plugins; Extending the loader system; Loading modules with Python; Summary; Writing Salt modules; The final module; Troubleshooting execution modules; Summary; Setting grains dynamically; Creating external pillars; Troubleshooting grains and pillars; Writing SDB modules; Using SDB modules; Troubleshooting SDB modules; Summary; Forming a state module; Troubleshooting state modules; Summary; Understanding file formats; Building a serializing renderer; Building a templating renderer; Troubleshooting renderers; Summary
- Returning data to external destinationsReturning data to the master; Listening to event data; Your first returner; The final module; Troubleshooting returners; Writing outputter modules; Troubleshooting outputters; Summary; Using Salt's local client; The final module; Troubleshooting runners; Summary; How Salt uses files; Looking at each function; The final module; Troubleshooting file servers; Summary; Understanding cloud components; Writing a generic cloud module; The final cloud module; Troubleshooting cloud modules; Summary; Watching for data; The final beacon module
- Troubleshooting beaconsSummary; Using external authentication; Troubleshooting external authentication; Managing the Master with the wheel modules; Troubleshooting wheel modules; Summary; Separating Master and Minion functionality; Working with dunders; Using the event bus; Firing events; How the community works; Asking questions and reporting issues; Understanding the Salt Style Guide; Creating pull requests on GitHub; Understanding test errors in pull requests; Loading modules; Standard modules; Virtual modules; Lazy loading modules; Detecting grains; Using other detection methods
- Hidden objectsThe __virtual__() function; Formatting your code; Virtual modules; Using the salt.utils library; Cross-calling with the __salt__ dictionary; Getting configuration parameters; Handling imports; Reusing code; Logging messages; Using the __func_alias__ dictionary; Validating data; Formatting strings; Using salt-call; is not available; Setting some basic grains; (Not) cross-calling execution modules; The final grains module; Configuring external pillars; Adding an external pillar; Another external pillar; Dynamic grains not showing up; External pillars not showing up
- Getting SDB data