Extending SaltStack
上QQ阅读APP看书,第一时间看更新

Chapter 2. Writing Execution Modules

Execution modules form the backbone of the workload that Salt performs. They're also easy to write, and the techniques used in writing them form the foundation for writing every other type of Salt module. With a solid understanding of how execution modules work, the functionality of other module types will also be opened up.

In this chapter, we'll talk about:

  • The basics of writing Salt modules
  • Making use of Salt built-ins
  • Using good practices
  • Troubleshooting execution modules