In the last chapter, we finished our deep dive of the remote execution system inside Salt. Remote execution is the foundation upon which all of the rest of Salt rests. In this chapter we will learn about one of the most important systems: "the state system". We will learn:
Without further ado, let's write our first state. All Salt-specific files that aren't Python files end in the extension
.sls. By default, states are located in the
/srv/salt directory. We created ...