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.
146 lines (146 sloc)
4.61 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-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.2-1', | |
] | |
%} | |
'{{ version }}': | |
full_name: 'Salt Minion {{ version }} (Python 3)' | |
{% if grains['cpuarch'] == 'AMD64' %} | |
installer: 'https://repo.saltproject.io/windows/Salt-Minion-{{ version }}-Py3-AMD64-Setup.exe' | |
{% else %} | |
installer: 'https://repo.saltproject.io/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.5-1', | |
'3002.9-1', | |
] | |
%} | |
'{{ version }}': | |
full_name: 'Salt Minion {{ version }} (Python 3)' | |
{% if grains['cpuarch'] == 'AMD64' %} | |
installer: 'https://repo.saltproject.io/windows/Salt-Minion-{{ version }}-Py3-AMD64-Setup.exe' | |
{% else %} | |
installer: 'https://repo.saltproject.io/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:\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` | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# Starting in Version 3004 salt is installed in ProgramData by default | |
# The uninstaller will be in ProgramData\Salt Project\Salt | |
{% | |
for version in [ | |
'3004.1-1', | |
'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.4-1', | |
'3003.3', | |
'3003.2', | |
'3003.1', | |
'3003', | |
'3002.8-1', | |
'3002.7', | |
'3002.6', | |
'3002.5', | |
'3002.4', | |
'3002.3', | |
'3002.2', | |
'3002.1', | |
'3002', | |
'3001.8', | |
'3001.7', | |
'3001.6', | |
'3001.5', | |
'3001.4', | |
'3001.2', | |
'3001.1', | |
'3001', | |
'3000.9', | |
'3000.8', | |
'3000.7', | |
'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', | |
] | |
%} | |
'{{ version }}': | |
skip_urltest: True | |
full_name: 'Salt Minion {{ version }} (Python 3)' | |
uninstaller: 'C:\salt\uninst.exe' | |
uninstall_flags: '/S' | |
use_scheduler: True | |
{% endfor %} |