Browse Source

Add new reclass config options into salt formula - overrides

Related-Bug: PROD-21498 (PROD:21498)

Change-Id: I59ab700630f86f38d25571368a4cecb83baa988f
pull/73/head
lmercl 6 years ago
parent
commit
6d5c89bc6f
1 changed files with 18 additions and 2 deletions
  1. +18
    -2
      salt/files/master.conf

+ 18
- 2
salt/files/master.conf View File

@@ -95,12 +95,28 @@ reclass: &reclass
{%- endif %}
{%- if master.pillar.reclass.get('propagate_pillar_data_to_reclass', False) == True %}
propagate_pillar_data_to_reclass: {{ master.pillar.reclass.propagate_pillar_data_to_reclass }}
{%- endif %}
{%- endif %}
# Below options are not available in original reclass,
# use fork with extensions from https://github.com/salt-formulas/reclass
{%- if master.pillar.reclass.get('ignore_class_notfound', False) == True %}
# Below option is not available in upstream reclass, and require fork https://github.com/salt-formulas/reclass
ignore_class_notfound: {{ master.pillar.reclass.ignore_class_notfound }}
ignore_class_regexp: {{ master.pillar.reclass.ignore_class_regexp }}
{%- endif %}
{%- if master.pillar.reclass.allow_scalar_over_dict is defined %}
allow_scalar_over_dict: {{ master.pillar.reclass.allow_scalar_over_dict }}
{%- endif %}
{%- if master.pillar.reclass.allow_scalar_over_list is defined %}
allow_scalar_over_list: {{ master.pillar.reclass.allow_scalar_over_list }}
{%- endif %}
{%- if master.pillar.reclass.allow_list_over_scalar is defined %}
allow_list_over_scalar: {{ master.pillar.reclass.allow_list_over_scalar }}
{%- endif %}
{%- if master.pillar.reclass.allow_dict_over_scalar is defined %}
allow_dict_over_scalar: {{ master.pillar.reclass.allow_dict_over_scalar }}
{%- endif %}
{%- if master.pillar.reclass.allow_none_override is defined %}
allow_none_override: {{ master.pillar.reclass.allow_none_override }}
{%- endif %}
{%- endif %}
{%- endif %}


Loading…
Cancel
Save