Pārlūkot izejas kodu

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 pirms 3 gadiem
vecāks
revīzija
814092bdce
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
29 mainītis faili ar 60 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt