Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
92 lines (92 sloc)
2.99 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# This software definition will only work in versions of Salt newer than | |
# 2015.8.2. In version 2015.8.2 we added the `use_scheduler` option which | |
# allowed us to launch the installer using the Windows task manager. | |
# This option is not available in earlier versions of Salt. So, while this | |
# software definition will allow you to install versions of Salt older than | |
# 2015.8.2 you will not be able to use pkg.install to upgrade Salt again. You | |
# will have to upgrade Salt through another means. | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
salt-minion: | |
{% | |
for version in [ | |
'3000.9', | |
'3000.8', | |
'3000.7', | |
] | |
%} | |
'{{ version }}': | |
full_name: 'Salt Minion {{ version }}' | |
{% if grains['cpuarch'] == 'AMD64' %} | |
installer: 'https://repo.saltstack.com/windows/Salt-Minion-{{ version }}-Py2-AMD64-Setup.exe' | |
{% else %} | |
installer: 'https://repo.saltstack.com/windows/Salt-Minion-{{ version }}-Py2-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:\salt\uninst.exe' | |
uninstall_flags: '/S' | |
msiexec: False | |
use_scheduler: True | |
reboot: False | |
{% endfor %} | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# Versions of Salt that contain CVE's have been moved to an archive at: | |
# archive.repo.saltstack.com/windows. The ability to install those versions | |
# using winrepo has been removed. | |
# 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` | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{% | |
for version in [ | |
'3000.6', | |
'3000.4', | |
'3000.3', | |
'3000.2', | |
'3000.1', | |
'3000', | |
'2019.2.8', | |
'2019.2.6', | |
'2019.2.5', | |
'2019.2.4', | |
'2019.2.3', | |
'2019.2.2', | |
'2019.2.1', | |
'2019.2.0', | |
'2018.3.5', | |
'2018.3.4', | |
'2018.3.3', | |
'2018.3.2', | |
'2018.3.1', | |
'2018.3.0', | |
'2017.7.8', | |
'2017.7.7', | |
'2017.7.6', | |
'2017.7.5', | |
'2017.7.4', | |
'2017.7.3', | |
'2017.7.2', | |
'2017.7.1', | |
'2017.7.0', | |
'2016.11.10', | |
'2016.11.9', | |
'2016.11.8', | |
'2016.11.7', | |
'2016.11.6', | |
'2016.11.5', | |
'2016.11.4', | |
'2016.11.3', | |
'2016.11.2', | |
'2016.11.1', | |
'2016.11.0', | |
] | |
%} | |
'{{ version }}': | |
skip_urltest: True | |
full_name: 'Salt Minion {{ version }}' | |
uninstaller: 'C:\salt\uninst.exe' | |
uninstall_flags: '/S' | |
use_scheduler: True | |
{% endfor %} |