salt.pillar.extra_minion_data_in_pillar

Add all extra minion data to the pillar.

codeauthor

Alexandru.Bleotu@morganstanley.ms.com

One can filter on the keys to include in the pillar by using the include parameter. For subkeys the ':' notation is supported (i.e. 'key:subkey') The keyword <all> includes all keys.

Complete example in etc/salt/master

ext_pillar:
  - extra_minion_data_in_pillar:
      include: *

ext_pillar:
  - extra_minion_data_in_pillar:
      include:
          - key1
          - key2:subkey2

ext_pillar:
  - extra_minion_data_in_pillar:
      include: <all>

salt.pillar.extra_minion_data_in_pillar.ext_pillar(minion_id, pillar, include, extra_minion_data=None)

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/pillar/all/salt.pillar.extra_minion_data_in_pillar.html