salt stack: grains vs pillars
In Salt, grains are used for immutable aspects of your minion, such as the cpu, memory, location, time zone, etc. A pillar is a list of data on the master (in SLS format) that you need to distribute to your minions. Pillar allows you to set variables that the minions can access, for example a … Read more