Ver código fonte

test(pillar): add `ssh-rsa` Kitchen workaround on Gentoo [skip ci]

tags/v3.0.2
Imran Iqbal 3 anos atrás
pai
commit
d65ea55d94
Nenhuma conta vinculada ao e-mail do autor do commit
3 arquivos alterados com 3 adições e 1 exclusões
  1. +1
    -0
      test/integration/default/files/_mapdata/gentoo-2-sysd.yaml
  2. +1
    -0
      test/integration/default/files/_mapdata/gentoo-2-sysv.yaml
  3. +1
    -1
      test/salt/pillar/default.sls

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

AcceptEnv: LANG LC_* AcceptEnv: LANG LC_*
ChallengeResponseAuthentication: 'no' ChallengeResponseAuthentication: 'no'
PrintMotd: 'no' PrintMotd: 'no'
PubkeyAcceptedAlgorithms: "+ssh-rsa"
Subsystem: sftp /usr/lib/openssh/sftp-server Subsystem: sftp /usr/lib/openssh/sftp-server
UsePAM: 'yes' UsePAM: 'yes'
X11Forwarding: 'yes' X11Forwarding: 'yes'

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

AcceptEnv: LANG LC_* AcceptEnv: LANG LC_*
ChallengeResponseAuthentication: 'no' ChallengeResponseAuthentication: 'no'
PrintMotd: 'no' PrintMotd: 'no'
PubkeyAcceptedAlgorithms: "+ssh-rsa"
Subsystem: sftp /usr/lib/openssh/sftp-server Subsystem: sftp /usr/lib/openssh/sftp-server
UsePAM: 'yes' UsePAM: 'yes'
X11Forwarding: 'yes' X11Forwarding: 'yes'

+ 1
- 1
test/salt/pillar/default.sls Ver arquivo

{%- endif %} {%- endif %}
{#- Need this on various platforms to avoid the `kitchen verify` failure as mentioned above; see: #} {#- Need this on various platforms to avoid the `kitchen verify` failure as mentioned above; see: #}
{#- * https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/commit/cb6781a2bba9 #} {#- * https://gitlab.com/saltstack-formulas/infrastructure/salt-image-builder/-/commit/cb6781a2bba9 #}
{%- if grains.os in ["Arch", "OpenBSD"] or grains.get("oscodename", "") in ["openSUSE Tumbleweed"] %}
{%- if grains.os in ["Arch", "OpenBSD", "Gentoo"] or grains.get("oscodename", "") in ["openSUSE Tumbleweed"] %}
PubkeyAcceptedAlgorithms: "+ssh-rsa" PubkeyAcceptedAlgorithms: "+ssh-rsa"
{%- endif %} {%- endif %}



Carregando…
Cancelar
Salvar