更新时间:2021-07-16 12:42:30
封面
版权信息
Credits
Foreword
About the Author
About the Reviewer
www.PacktPub.com
Preface
Chapter 1. Starting with the Basics
Using plugins
Extending the loader system
Loading modules with Python
Summary
Chapter 2. Writing Execution Modules
Writing Salt modules
The final module
Troubleshooting execution modules
Chapter 3. Extending Salt Configuration
Setting grains dynamically
Creating external pillars
Troubleshooting grains and pillars
Writing SDB modules
Using SDB modules
Troubleshooting SDB modules
Chapter 4. Wrapping States Around Execution Modules
Forming a state module
Troubleshooting state modules
Chapter 5. Rendering Data
Understanding file formats
Building a serializing renderer
Building a templating renderer
Troubleshooting renderers
Chapter 6. Handling Return Data
Returning data to external destinations
Returning data to the master
Listening to event data
Your first returner
Troubleshooting returners
Writing outputter modules
Troubleshooting outputters
Chapter 7. Scripting with Runners
Using Salt's local client
Troubleshooting runners
Chapter 8. Adding External File Servers
How Salt uses files
Looking at each function
Troubleshooting file servers
Chapter 9. Connecting to the Cloud
Understanding cloud components
Writing a generic cloud module
The final cloud module
Troubleshooting cloud modules
Chapter 10. Monitoring with Beacons
Watching for data
The final beacon module
Troubleshooting beacons
Chapter 11. Extending the Master
Using external authentication
Troubleshooting external authentication
Managing the Master with the wheel modules
Troubleshooting wheel modules
Appendix A. Connecting Different Modules
Separating Master and Minion functionality
Working with dunders
Using the event bus
Firing events
Appendix B. Contributing Code Upstream
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
Index