forked from saltstack/salt-winrepo-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
duplicati.sls
52 lines (52 loc) · 2.34 KB
/
duplicati.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
# https://www.duplicati.com
# https://github.com/duplicati/duplicati/releases
duplicati:
{% for version, type, date, guid32, guid64 in [('2.0.6.1', 'beta', '2021-05-03', '{0E6E0121-37E6-49A5-BE4D-0E5A61781EBE}', '{C0FED19D-F7F2-4DB2-8FDB-50AD2F34E921}'),
('2.0.5.1', 'beta', '2020-01-18', '{5BDF9713-1281-4651-AC19-C4D80FE040E7}', '{FC1F2B24-1783-4352-98E9-669896601613}')
] %}
'{{ version }}':
{% if grains['cpuarch'] == 'AMD64' %}
full_name: 'Duplicati 2'
installer: 'https://github.com/duplicati/duplicati/releases/download/v{{ version }}-{{ version }}_{{ type }}_{{ date }}/duplicati-{{ version }}_{{ type }}_{{ date }}-x64.msi'
uninstall_flags: '/x {{ guid64 }} /qn /norestart'
{% else %}
full_name: 'Duplicati 2'
installer: 'https://github.com/duplicati/duplicati/releases/download/v{{ version }}-{{ version }}_{{ type }}_{{ date }}/duplicati-{{ version }}_{{ type }}_{{ date }}-x86.msi'
uninstall_flags: '/x {{ guid32 }} /qn /norestart'
{% endif %}
install_flags: '/qn ALLUSERS=1 /norestart'
uninstaller: 'msiexec'
msiexec: True
locale: en_US
reboot: False
refresh: False
cache_dir: False
use_scheduler: False
{% endfor %}
#
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Below are versions of Notepad Plus Plus that have had the installer assets 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`
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'1.3.4':
skip_urltest: True
{% if grains['cpuarch'] == 'AMD64' %}
full_name: 'Duplicati (x64)'
#installer: 'https://duplicati.googlecode.com/files/Duplicati%201.3.4.x64.msi'
uninstall_flags: '/x {77BA8977-0BA6-4A83-A741-1DFAD23A6B23} /qn /norestart'
{% else %}
full_name: 'Duplicati'
#installer: 'https://duplicati.googlecode.com/files/Duplicati%201.3.4.msi'
uninstall_flags: '/x {73DB7BB3-FA85-4E45-BEC4-FAE8BB1A670A} /qn /norestart'
{% endif %}
#install_flags: '/qn ALLUSERS=1 /norestart'
uninstaller: 'msiexec'
msiexec: True
locale: en_US
reboot: False
refresh: False
cache_dir: False
use_scheduler: False
#