|
|
|
|
|
|
|
|
{%- if master.pillar.engine == 'reclass' or (master.pillar.engine == 'composite' and master.pillar.reclass is defined) %} |
|
|
{%- if master.pillar.engine == 'reclass' or (master.pillar.engine == 'composite' and master.pillar.reclass is defined) %} |
|
|
|
|
|
|
|
|
reclass: &reclass |
|
|
reclass: &reclass |
|
|
storage_type: {{ master.pillar.get('reclass', {'storage_type': 'yaml_fs'}).storage_type }} |
|
|
|
|
|
inventory_base_uri: {{ master.pillar.get('reclass', {'inventory_base_uri': '/srv/salt/reclass'}).inventory_base_uri }} |
|
|
|
|
|
|
|
|
storage_type: {{ master.pillar.get('reclass', {}).get('storage_type', 'yaml_fs') }} |
|
|
|
|
|
inventory_base_uri: {{ master.pillar.get('reclass', {}).get('inventory_base_uri', '/srv/salt/reclass') }} |
|
|
{# Additional options, for backward compatibility salt:master:pillar might not be defined #} |
|
|
{# Additional options, for backward compatibility salt:master:pillar might not be defined #} |
|
|
{%- if master.pillar.reclass is defined %} |
|
|
{%- if master.pillar.reclass is defined %} |
|
|
{%- if master.pillar.reclass.reclass_source_path is defined %} |
|
|
{%- if master.pillar.reclass.reclass_source_path is defined %} |