Chapter 3. Extending Salt Configuration

By now you know how to access configuration variables from the various parts of Salt, except for SDB modules, which will be covered in this chapter. But while setting static configuration is all fine and well, it can be very useful to be able to supply that data from an external source. In this chapter, you'll learn about:

  • Writing dynamic grains and external pillars
  • Troubleshooting grains and pillars
  • Writing and using SDB modules
  • Troubleshooting SDB modules

Setting grains dynamically

As you already know, grains hold variables that describe certain aspects of a Minion. This could be information about the operating system, the hardware, the network, and so on. It can also contain statically defined user data, which ...

Get Extending SaltStack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.