Chapter 8. Adding External File Servers

Salt Master normally keeps its resources locally on the machine that hosts it. This involves, among other things, files that are served to Minions. The file server loader allows you to use an external resource to store those files, and treat them as if they are local to the Master. In this chapter, we'll discuss:

  • Understanding how Salt uses files
  • Abstracting external sources to deliver files to Salt
  • Using Salt's cache system
  • Troubleshooting external file servers

How Salt uses files

There are two ways that Salt's built-in file server uses files when communicating with Minions. They can be served whole and intact, or they can be processed by a templating engine, using a renderer module as discussed in Chapter 5 ...

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.