blob: 7f72b086a6e5369a041cea52a98ee8935a4fa175 [file] [log] [blame]
Filip Pytloun49768a42015-10-06 16:28:32 +02001{%- from "reclass/map.jinja" import storage with context %}
2storage_type: {{ storage.storage_type }}
3pretty_print: True
4output: {{ storage.get('output', 'json') }}
5inventory_base_uri: {{ storage.base_dir }}
Vladislav Naumov87113082017-07-24 17:36:50 +03006{%- if storage.nodes_uri is defined %}
Elena Ezhovafc761592017-07-27 11:49:40 +04007nodes_uri: {{ storage.nodes_uri }}
Vladislav Naumov87113082017-07-24 17:36:50 +03008{%- endif %}
Petr Michalecc47dad22017-08-17 18:15:16 +02009{%- if storage.reclass_source_path is defined %}
10reclass_source_path: {{ storage.reclass_source_path }}
11{%- endif %}
Petr Michalecb933c342017-08-17 18:15:16 +020012{%- if storage.class_mappings|length > 0 %}
Filip Pytloun49768a42015-10-06 16:28:32 +020013class_mappings:
14{%- for mapping in storage.class_mappings %}
15- {{ mapping.target }} {{ mapping.class }}
16{%- endfor %}
Vladislav Naumov87113082017-07-24 17:36:50 +030017{%- endif %}
Petr Michalecc47dad22017-08-17 18:15:16 +020018{%- if storage.propagate_pillar_data_to_reclass == True %}
Petr Michalecb933c342017-08-17 18:15:16 +020019propagate_pillar_data_to_reclass: {{ storage.propagate_pillar_data_to_reclass }}
20{%- endif %}
lmercld988a232018-08-09 13:57:07 +020021# Below option are not available in original reclass,
azvyagintsev01f96992019-05-29 15:18:10 +030022# use fork with extensions from https://gerrit.mcp.mirantis.com/salt-formulas/reclass
Petr Michalecc47dad22017-08-17 18:15:16 +020023{%- if storage.ignore_class_notfound == True %}
Petr Michalecb933c342017-08-17 18:15:16 +020024ignore_class_notfound: {{ storage.ignore_class_notfound }}
25{%- endif %}
lmercld988a232018-08-09 13:57:07 +020026{%- if storage.allow_scalar_over_dict is defined %}
27allow_scalar_over_dict: {{ storage.allow_scalar_over_dict }}
28{%- endif %}
29{%- if storage.allow_scalar_over_list is defined %}
30allow_scalar_over_list: {{ storage.allow_scalar_over_list }}
31{%- endif %}
32{%- if storage.allow_list_over_scalar is defined %}
33allow_list_over_scalar: {{ storage.allow_list_over_scalar }}
34{%- endif %}
35{%- if storage.allow_dict_over_scalar is defined %}
36allow_dict_over_scalar: {{ storage.allow_dict_over_scalar }}
37{%- endif %}
38{%- if storage.allow_none_override is defined %}
39allow_none_override: {{ storage.allow_none_override }}
40{%- endif %}