O'Reilly logo

Learning SaltStack - Second Edition by Colton Myers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Execution Modules – Write Your Own Solution

In Chapter 2, Controlling Your Minions with Remote Execution, we went over remote execution commands in detail, learning how to target our commands and get things done using Salt's remote execution modules.

In this chapter, we will expand on Salt's remote execution system by diving into the code. You will learn the following things:

  • What an execution module is made up of (and inspect some of the execution modules that ship with Salt)
  • How to write our own execution module functions
  • The extra tools that are easily available to us in the context of execution modules
  • How to sync our execution modules to our minions

Note that in this chapter, we will be inspecting and writing a good deal of Python code. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required