Sfoglia il codice sorgente

fix(master): master.d template to support saltclass ext_pillar

tags/v1.9.8
Robert Fairburn 3 anni fa
parent
commit
5b7d7ea70e
Nessun account collegato all'indirizzo email del committer
29 ha cambiato i file con 60 aggiunte e 0 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

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

Loading…
Annulla
Salva