salt.modules.pillar

Extract the pillar data for this minion

salt.modules.pillar.data(key='')

Returns the pillar derived from the configured pillar source. The pillar source is derived from the file_client option in the minion config

CLI Example:

salt '*' pillar.data

With the optional key argument, you can select a subtree of the pillar data.:

salt '*' pillar.data key='roles'
salt.modules.pillar.raw(key='')

Return the raw pillar data that is available in the module. This will show the pillar as it is loaded as the __pillar__ dict.

CLI Example:

salt '*' pillar.raw

With the optional key argument, you can select a subtree of the pillar raw data.:

salt '*' pillar.raw key='roles'

Parent topic

Previous topic

salt.modules.pecl

Next topic

salt.modules.pip