Questions tagged [pillar]

The server-side private data store in the Salt configuration and orchestration stack; the pillar system permits minions access to only that information which they're supposed to know.

2 questions
5
votes
1 answer

Securely grab minion ID in pillar top file template?

I found this SLS file in a pillar top.sls targeting example: top.sls: base: '*': - hostspecificsls hostspecificsls: # See https://groups.google.com/forum/#!topic/salt-users/UWfP6bMe6F8 {% include 'hosts/' + salt['grains.get']('fqdn') + '.sls'…
Michael Mol
  • 1,045
  • 1
  • 8
  • 19
0
votes
1 answer

Salt - Need state to check pillar and perform a if/else check

This is salt 101 I think, but I'm really a salt N00b and need assistance. I need to disable specific services on all of our servers by default, but I need to create a pillar that allows me to override this, and allow the specific servers mentioned…
Egyas
  • 101
  • 1
  • 1