Pillar Components
Pillar is also one of the most important components of saltstack, and its role is to define any data related to the controlled host, and the defined data can be used by other components such as templates, State, API, etc. The data defined in pillar is associated with the host of the different business features, so that the host can only see its own matching data, so pillar security is very high, suitable for some more sensitive data, which is also different from the grains key point, such as the definition of different business group host user ID , group ID, read and Write permissions, packages, and other information, the definition of the specification is in the form of a Python dictionary, that is, the key/value, the topmost key is generally the host's ID or group name.
Here is a detailed description of how pillar is defined and used.
Definition of pillar:
1. Definition of master configuration file
Saltstack Pillar Components