forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
curl.sls
77 lines (77 loc) · 2.77 KB
/
curl.sls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# both 32-bit (x86) AND a 64-bit (AMD64) installer available
{% set PROGRAM_FILES = "%ProgramFiles%" %}
curl:
'7.46.0':
full_name: 'cURL'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'salt://win/repo-ng/curl/curl-7.46.0-win64.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.46.0-win64.msi'
{% else %}
installer: 'salt://win/repo-ng/curl/curl-7.46.0-win32.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.46.0-win32.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
'7.45.0':
full_name: 'cURL'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'salt://win/repo-ng/curl/curl-7.45.0-win64.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.45.0-win64.msi'
{% else %}
installer: 'salt://win/repo-ng/curl/curl-7.45.0-win32.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.45.0-win32.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
'7.44.0':
full_name: 'cURL'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'salt://win/repo-ng/curl/curl-7.44.0-win64.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.44.0-win64.msi'
{% else %}
installer: 'salt://win/repo-ng/curl/curl-7.44.0-win32.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.44.0-win32.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
'7.43.0':
full_name: 'cURL'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'salt://win/repo-ng/curl/curl-7.43.0-win64.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.43.0-win64.msi'
{% else %}
installer: 'salt://win/repo-ng/curl/curl-7.43.0-win32.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.43.0-win32.msi'
{% endif %}
install_flags: '/qn /norestart'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
'7.40.0':
full_name: 'cURL'
{% if grains['cpuarch'] == 'AMD64' %}
installer: 'salt://win/repo-ng/curl/curl-7.40.0-win64.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.40.0-win64.msi'
{% else %}
installer: 'salt://win/repo-ng/curl/curl-7.40.0-win32.msi'
uninstaller: 'salt://win/repo-ng/curl/curl-7.40.0-win32.msi'
{% endif %}
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
#
# You need to download the win64 msi from website (Captcha protected) and place in your winrepo-ng on master
# http://www.confusedbycode.com/curl/#downloads
# Note: 'curl' is also a standard powershell alias as of at least .NET 4.0 for Invoke-WebRequest,
# so you might not be calling the right 'curl'