updated saltmaster
This commit is contained in:
parent
e4fe3a92a8
commit
2bb1300c53
1 changed files with 9 additions and 1 deletions
|
@ -441,7 +441,15 @@ file_roots:
|
|||
# To specify the order in which environments are merged, set the ordering
|
||||
# in the env_order option. Given a conflict, the last matching value will
|
||||
# win.
|
||||
env_order: ['qual', 'prod']
|
||||
{% if pillar['branches'] is defined -%}
|
||||
{%- if pillar['branches']['saltmaster'] is defined -%}
|
||||
env_order: [
|
||||
{%- for branch in pillar['branches']['saltmaster'] -%}
|
||||
'{{-branch}}',
|
||||
{%- endfor -%}
|
||||
'null']
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
# If top_file_merging_strategy is set to 'same' and an environment does not
|
||||
# contain a top file, the top file in the environment specified by default_top
|
||||
|
|
Loading…
Add table
Reference in a new issue