test(pillar): add platforms to ssh-rsa Kitchen workaround [skip ci]

Updates ecd62e4507.

Now required for openSUSE Tumbleweed and OpenBSD 7 as well.
This commit is contained in:
Imran Iqbal
2021-12-06 16:33:22 +00:00
parent d3553378ad
commit 6260e85280
4 changed files with 187 additions and 2 deletions
+2 -2
View File
@@ -25,9 +25,9 @@ sshd_config:
{%- if grains.os != "OpenBSD" %}
UsePAM: 'yes'
{%- endif %}
{#- Need this on Arch Linux 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 #}
{%- if grains.os == "Arch" %}
{%- if grains.os in ["Arch", "OpenBSD"] or grains.oscodename in ["openSUSE Tumbleweed"] %}
PubkeyAcceptedAlgorithms: "+ssh-rsa"
{%- endif %}