Skip to content

Commit

Permalink
Merge pull request #1930 from twangboy/update_salt_minion
Browse files Browse the repository at this point in the history
Add Salt Minion 3004.1, 3003.4, 3002.8
  • Loading branch information
twangboy authored Mar 28, 2022
2 parents ddaa671 + 949957a commit 0cbbc5e
Showing 1 changed file with 44 additions and 6 deletions.
50 changes: 44 additions & 6 deletions salt-minion-py3.sls
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,34 @@
# will have to upgrade Salt through another means.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
salt-minion-py3:
# Starting in Version 3004 salt is installed in ProgramData by default
# The uninstaller will be in ProgramData\Salt Project\Salt
{%
for version in [
'3004-3',
'3004-2',
'3004',
'3003.3',
'3002.7',
'3001.8',
'3004.1-1',
]
%}
'{{ version }}':
full_name: 'Salt Minion {{ version }} (Python 3)'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'https://repo.saltstack.com/windows/Salt-Minion-{{ version }}-Py3-AMD64-Setup.exe'
{% else %}
installer: 'https://repo.saltstack.com/windows/Salt-Minion-{{ version }}-Py3-x86-Setup.exe'
{% endif %}
{% raw %}
# install_flags: "/S /master={{ salt['pillar.get']('salt:master', 'salt.domain.tld') }} /minion-id={{ salt['pillar.get']('salt:minion:ids:' ~ grains['host'] }}"
{% endraw %}
install_flags: '/S'
uninstaller: 'C:\ProgramData\Salt Project\Salt\uninst.exe'
uninstall_flags: '/S'
msiexec: False
use_scheduler: True
reboot: False
{% endfor %}
{%
for version in [
'3003.4-1',
'3002.8-1',
]
%}
'{{ version }}':
Expand All @@ -42,8 +62,26 @@ salt-minion-py3:
# An uninstall only definition will remain here so the packages will show up
# correctly in `pkg.list_pkgs` and to allow for removal using `pkg.remove`
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Starting in Version 3004 salt is installed in ProgramData by default
# The uninstaller will be in ProgramData\Salt Project\Salt
{%
for version in [
'3004-3',
'3004-2',
'3004',
%}
'{{ version }}':
skip_urltest: True
full_name: 'Salt Minion {{ version }} (Python 3)'
uninstaller: 'C:\ProgramData\Salt Project\Salt\uninst.exe'
uninstall_flags: '/S'
use_scheduler: True
{% endfor %}
{%
for version in [
'3003.3',
'3002.7',
'3001.8',
'3003.2',
'3003.1',
'3003',
Expand Down

0 comments on commit 0cbbc5e

Please sign in to comment.