Ver código fonte

Merge pull request #519 from rfairburn/fix_ext_pillar

Fix: master.d template to support saltclass ext_pillar config
tags/v1.9.8
Imran Iqbal 3 anos atrás
pai
commit
814092bdce
Nenhuma conta vinculada ao e-mail do autor do commit
29 arquivos alterados com 60 adições e 0 exclusões
  1. +4
    -0
      salt/files/master.d/f_defaults.conf
  2. +2
    -0
      test/integration/default/files/_mapdata/almalinux-8.yaml
  3. +2
    -0
      test/integration/default/files/_mapdata/amazonlinux-2.yaml
  4. +2
    -0
      test/integration/default/files/_mapdata/arch-base-latest.yaml
  5. +2
    -0
      test/integration/default/files/_mapdata/centos-7.yaml
  6. +2
    -0
      test/integration/default/files/_mapdata/centos-8.yaml
  7. +2
    -0
      test/integration/default/files/_mapdata/debian-10.yaml
  8. +2
    -0
      test/integration/default/files/_mapdata/debian-11.yaml
  9. +2
    -0
      test/integration/default/files/_mapdata/debian-9.yaml
  10. +2
    -0
      test/integration/default/files/_mapdata/fedora-33.yaml
  11. +2
    -0
      test/integration/default/files/_mapdata/fedora-34.yaml
  12. +2
    -0
      test/integration/default/files/_mapdata/freebsd-12.yaml
  13. +2
    -0
      test/integration/default/files/_mapdata/freebsd-13.yaml
  14. +2
    -0
      test/integration/default/files/_mapdata/gentoo-2-sysd.yaml
  15. +2
    -0
      test/integration/default/files/_mapdata/gentoo-2-sysv.yaml
  16. +2
    -0
      test/integration/default/files/_mapdata/openbsd-6.yaml
  17. +2
    -0
      test/integration/default/files/_mapdata/openbsd-7.yaml
  18. +2
    -0
      test/integration/default/files/_mapdata/opensuse-15.yaml
  19. +2
    -0
      test/integration/default/files/_mapdata/opensuse-tumbleweed.yaml
  20. +2
    -0
      test/integration/default/files/_mapdata/oraclelinux-7.yaml
  21. +2
    -0
      test/integration/default/files/_mapdata/oraclelinux-8.yaml
  22. +2
    -0
      test/integration/default/files/_mapdata/rockylinux-8.yaml
  23. +2
    -0
      test/integration/default/files/_mapdata/ubuntu-18.yaml
  24. +2
    -0
      test/integration/default/files/_mapdata/ubuntu-20.yaml
  25. +2
    -0
      test/integration/default/files/_mapdata/windows-10.yaml
  26. +2
    -0
      test/integration/default/files/_mapdata/windows-2016-server.yaml
  27. +2
    -0
      test/integration/default/files/_mapdata/windows-2019-server.yaml
  28. +2
    -0
      test/integration/default/files/_mapdata/windows-8.yaml
  29. +2
    -0
      test/salt/pillar/salt.sls

+ 4
- 0
salt/files/master.d/f_defaults.conf Ver arquivo

@@ -1207,12 +1207,16 @@ ext_pillar:
{%- for parameter in pillar[key] %}
{%- if parameter is iterable and parameter is not string %}
{%- for param, children in parameter.items() %}
{%- if children is string %}
- {{ param }}: {{ children }}
{%- else %}
- {{ param }}:
{%- for child in children %}
{%- for key, value in child.items() %}
- {{ key }}: {{ value }}
{%- endfor -%}
{%- endfor -%}
{%- endif -%}
{%- endfor -%}
{%- else %}
- {{ parameter }}

+ 2
- 0
test/integration/default/files/_mapdata/almalinux-8.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/amazonlinux-2.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/arch-base-latest.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/centos-7.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/centos-8.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/debian-10.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/debian-11.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/debian-9.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/fedora-33.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/fedora-34.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/freebsd-12.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/freebsd-13.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/gentoo-2-sysd.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/gentoo-2-sysv.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/openbsd-6.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/openbsd-7.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/opensuse-15.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/opensuse-tumbleweed.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/oraclelinux-7.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/oraclelinux-8.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/rockylinux-8.yaml Ver arquivo

@@ -51,6 +51,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/ubuntu-18.yaml Ver arquivo

@@ -52,6 +52,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/ubuntu-20.yaml Ver arquivo

@@ -52,6 +52,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
file_roots:
base:
- /srv/salt

+ 2
- 0
test/integration/default/files/_mapdata/windows-10.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: "/srv/saltclass"
file_roots:
base:
- "/srv/salt"

+ 2
- 0
test/integration/default/files/_mapdata/windows-2016-server.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: "/srv/saltclass"
file_roots:
base:
- "/srv/salt"

+ 2
- 0
test/integration/default/files/_mapdata/windows-2019-server.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: "/srv/saltclass"
file_roots:
base:
- "/srv/salt"

+ 2
- 0
test/integration/default/files/_mapdata/windows-8.yaml Ver arquivo

@@ -50,6 +50,8 @@ values:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: "/srv/saltclass"
file_roots:
base:
- "/srv/salt"

+ 2
- 0
test/salt/pillar/salt.sls Ver arquivo

@@ -22,6 +22,8 @@ salt:
- /path/to/stack2.cfg
- reclass:
inventory_base_uri: /etc/reclass
- saltclass:
- path: /srv/saltclass
minion:
master: localhost
fileserver_backend:

Carregando…
Cancelar
Salvar