Merge pull request #497 from dafyddj/fix/is-mapping-v3002.5
fix: revert to using `is mapping` in Jinja2
This commit is contained in:
commit
840624f2e3
|
@ -1202,8 +1202,7 @@ ext_pillar:
|
|||
{%- for key in pillar -%}
|
||||
{%- if pillar[key] is string %}
|
||||
- {{ key }}: {{ pillar[key] }}
|
||||
{#- Workaround for missing `is mapping` on CentOS 6, see #193: #}
|
||||
{%- elif pillar[key] is iterable and 'dict' not in pillar[key].__class__.__name__ %}
|
||||
{%- elif pillar[key] is iterable and pillar[key] is not mapping %}
|
||||
- {{ key }}:
|
||||
{%- for parameter in pillar[key] %}
|
||||
{%- if parameter is iterable and parameter is not string %}
|
||||
|
@ -1219,8 +1218,7 @@ ext_pillar:
|
|||
- {{ parameter }}
|
||||
{%- endif %}
|
||||
{%- endfor -%}
|
||||
{#- Workaround for missing `is mapping` on CentOS 6, see #193: #}
|
||||
{%- elif 'dict' in pillar[key].__class__.__name__ and pillar[key] is not string %}
|
||||
{%- elif pillar[key] is mapping and pillar[key] is not string %}
|
||||
- {{ key }}:
|
||||
{%- for parameter in pillar[key] %}
|
||||
{{ parameter }}: {{pillar[key][parameter]}}
|
||||
|
|
|
@ -12,8 +12,7 @@ lxc.container_profile:
|
|||
{%- for prof in cfg_prof %}
|
||||
{{ prof }}:
|
||||
{%- for conf in cfg_prof[prof] %}
|
||||
{#- Workaround for missing `is mapping` on CentOS 6, see #193 #}
|
||||
{%- if 'dict' in cfg_prof[prof][conf].__class__.__name__ %}
|
||||
{%- if cfg_prof[prof][conf] is mapping %}
|
||||
{{ conf }}:
|
||||
{%- for opt in cfg_prof[prof][conf] %}
|
||||
{{ opt }}: {{ cfg_prof[prof][conf][opt] }}
|
||||
|
@ -30,8 +29,7 @@ lxc.network_profile:
|
|||
{%- for prof in cfg_net %}
|
||||
{{ prof }}:
|
||||
{%- for conf in cfg_net[prof] -%}
|
||||
{#- Workaround for missing `is mapping` on CentOS 6, see #193 #}
|
||||
{%- if 'dict' in cfg_net[prof][conf].__class__.__name__ %}
|
||||
{%- if cfg_prof[prof][conf] is mapping %}
|
||||
{{ conf }}:
|
||||
{%- for opt in cfg_net[prof][conf] %}
|
||||
{{ opt }}: {{ cfg_net[prof][conf][opt] }}
|
||||
|
|
|
@ -838,8 +838,7 @@ ext_pillar:
|
|||
{%- for key in pillar -%}
|
||||
{%- if pillar[key] is string %}
|
||||
- {{ key }}: {{ pillar[key] }}
|
||||
{#- Workaround for missing `is mapping` on CentOS 6, see #193: #}
|
||||
{%- elif pillar[key] is iterable and 'dict' not in pillar[key].__class__.__name__ %}
|
||||
{%- elif pillar[key] is iterable and pillar[key] is not mapping %}
|
||||
- {{ key }}:
|
||||
{%- for parameter in pillar[key] %}
|
||||
{%- if parameter is iterable and parameter is not string %}
|
||||
|
@ -855,8 +854,7 @@ ext_pillar:
|
|||
- {{ parameter }}
|
||||
{%- endif %}
|
||||
{%- endfor -%}
|
||||
{#- Workaround for missing `is mapping` on CentOS 6, see #193: #}
|
||||
{%- elif 'dict' in pillar[key].__class__.__name__ and pillar[key] is not string %}
|
||||
{%- elif pillar[key] is mapping and pillar[key] is not string %}
|
||||
- {{ key }}:
|
||||
{%- for parameter in pillar[key] %}
|
||||
{{ parameter }}: {{pillar[key][parameter]}}
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/apt/ubuntu/16.04/amd64/3000/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/apt/ubuntu/18.04/amd64/3000/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/amazon/2/$basearch/3000/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/debian/10/amd64/3000/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/debian/9/amd64/3000/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/repodata/repomd.xml.key
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3000/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/16.04/amd64/3000/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/18.04/amd64/3000/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- "/srv/salt"
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- "/srv/salt"
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/amazon/2/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/debian/10/amd64/3001/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/debian/9/amd64/3001/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/repodata/repomd.xml.key
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Tumbleweed/repodata/repomd.xml.key
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3001/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/16.04/amd64/3001/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/18.04/amd64/3001/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/20.04/amd64/3001/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/amazon/2/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/debian/10/amd64/3002/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/debian/9/amd64/3002/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -43,6 +43,13 @@ values:
|
|||
version: 0.23.0
|
||||
install_packages: true
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Leap_15.2/repodata/repomd.xml.key
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://download.opensuse.org/repositories/systemsmanagement:/saltstack/openSUSE_Tumbleweed/repodata/repomd.xml.key
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -44,6 +44,13 @@ values:
|
|||
install_packages: true
|
||||
key_url: https://repo.saltstack.com/py3/redhat/$releasever/$basearch/3002/SALTSTACK-GPG-KEY.pub
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/16.04/amd64/3002/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/18.04/amd64/3002/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -45,6 +45,13 @@ values:
|
|||
key_url: https://repo.saltstack.com/py3/ubuntu/20.04/amd64/3002/SALTSTACK-GPG-KEY.pub
|
||||
libgit2: libgit2-22
|
||||
master:
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/salt
|
||||
|
|
|
@ -11,6 +11,13 @@ salt:
|
|||
pillar_roots:
|
||||
base:
|
||||
- /srv/pillar
|
||||
ext_pillar:
|
||||
- cmd_yaml: cat /etc/salt/yaml
|
||||
- stack:
|
||||
- /path/to/stack1.cfg
|
||||
- /path/to/stack2.cfg
|
||||
- reclass:
|
||||
inventory_base_uri: /etc/reclass
|
||||
minion:
|
||||
master: localhost
|
||||
fileserver_backend:
|
||||
|
|
Loading…
Reference in New Issue