From 62f6d39d63cc2e5c134571e20518f7da8c17e09e Mon Sep 17 00:00:00 2001 From: Dafydd Jones Date: Thu, 11 Jun 2020 03:04:24 +0100 Subject: [PATCH] fix(windows): `py2` should still be default like other platforms * add `-` if someone supplies `py3` in pillar, like other platforms --- salt/osfamilymap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/osfamilymap.yaml b/salt/osfamilymap.yaml index 8fcba19..1a530d8 100644 --- a/salt/osfamilymap.yaml +++ b/salt/osfamilymap.yaml @@ -127,7 +127,7 @@ OpenBSD: python_git: py-GitPython Windows: - salt_minion: salt-minion{{ py_ver_repr or '-py3' }} + salt_minion: salt-minion{{ '-' ~ py_ver_repr if py_ver_repr else '' }} config_path: 'C:\salt\conf' minion_service: salt-minion