forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
firefox_x86.sls
17 lines (17 loc) · 1.74 KB
/
firefox_x86.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
firefox_x86:
{% if grains['cpuarch'] == 'AMD64' %}
{% set PROGRAM_FILES = "%ProgramFiles(x86)%" %}
{% else %}
{% set PROGRAM_FILES = "%ProgramFiles%" %}
{% endif %}
{% for version in ['69.0', '68.0.2', '68.0.1', '68.0', '67.0.4', '67.0.3', '67.0.2', '67.0.1', '67.0', '66.0.5', '66.0.4', '66.0.3', '66.0.2', '66.0.1', '66.0', '65.0.2', '65.0.1', '65.0', '64.0.2', '64.0', '63.0.3', '63.0.1', '63.0', '62.0.3', '62.0.2', '62.0', '61.0.2', '61.0.1', '61.0', '60.0.2', '60.0.1', '60.0', '59.0.3', '59.0.2', '59.0.1', '59.0', '58.0.2', '58.0.1', '58.0', '57.0.4', '57.0.3', '57.0.2', '57.0.1', '57.0', '56.0.2', '56.0.1', '56.0', '55.0.3', '55.0.2', '55.0.1', '55.0', '54.0.1', '54.0', '53.0.3', '53.0.2', '53.0', '52.0.2', '52.0.1', '52.0', '51.0.1', '51.0', '50.1.0', '50.0.2', '50.0.1', '50.0', '49.0.2', '49.0.1', '49.0', '48.0.2', '48.0.1', '48.0', '47.0.2', '47.0.1', '47.0', '46.0.1', '46.0', '45.0.2', '45.0.1', '45.0', '44.0.2', '44.0.1', '44.0', '43.0.4', '43.0.3', '43.0.2', '43.0.1', '43.0', '42.0', '41.0.2', '41.0.1', '41.0', '40.0.3', '40.0.2', '40.0', '39.0.3', '39.0', '38.0.6', '38.0.5', '38.0.1', '38.0', '37.0.2', '37.0.1', '37.0', '36.0.4', '36.0.3', '36.0.1', '36.0', '35.0.1', '35.0', '34.0.5', '34.0', '33.1.1', '33.1', '33.0.3', '33.0.2', '33.0.1', '33.0', '32.0.3', '32.0.2', '32.0.1', '32.0', '31.0', '30.0', '29.0.1'] %}
'{{ version }}':
full_name: 'Mozilla Firefox {{ version }} (x86 en-US)'
installer: 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/{{ version }}/win32/en-US/Firefox%20Setup%20{{ version }}.exe'
install_flags: '/s'
uninstaller: '{{ PROGRAM_FILES }}\Mozilla Firefox\uninstall\helper.exe'
uninstall_flags: '/S'
msiexec: False
locale: en_US
reboot: False
{% endfor %}