Skip to content

Commit 0e543bb

Browse files
committed
Add zabbix-agent2 including version 7.0
Add new zabbix-agent-2 file Fix name
1 parent 9b4b493 commit 0e543bb

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

zabbix-agent-2.sls

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# both 32-bit (x86) AND a 64-bit (AMD64) installer available
2+
{% set versions = {'7.0':[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]} %}
3+
{% set source_path = 'https://cdn.zabbix.com/zabbix/binaries/stable/' %}
4+
5+
zabbix-agent-2:
6+
{% for major, subversions in versions.items() %}
7+
{% for minor in subversions %}
8+
'{{major}}.{{minor}}.2400':
9+
{% if grains['cpuarch'] == 'AMD64' %}
10+
full_name: 'Zabbix Agent 2 (64-bit)'
11+
installer: '{{source_path}}{{major}}/{{major}}.{{minor}}/zabbix_agent2-{{major}}.{{minor}}-windows-amd64-openssl.msi'
12+
uninstaller: '{{source_path}}{{major}}/{{major}}.{{minor}}/zabbix_agent2-{{major}}.{{minor}}-windows-amd64-openssl.msi'
13+
{% else %}
14+
full_name: 'Zabbix Agent 2 (32-bit)'
15+
installer: '{{source_path}}{{major}}/{{major}}.{{minor}}/zabbix_agent2-{{major}}.{{minor}}-windows-i386-openssl.msi'
16+
uninstaller: '{{source_path}}{{major}}/{{major}}.{{minor}}/zabbix_agent2-{{major}}.{{minor}}-windows-i386-openssl.msi'
17+
{% endif %}
18+
install_flags: '/qn /norestart SERVER=localhost'
19+
uninstall_flags: '/qn /norestart'
20+
msiexec: True
21+
locale: en_US
22+
reboot: False
23+
{% endfor %}
24+
{% endfor %}

zabbix-agent.sls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# both 32-bit (x86) AND a 64-bit (AMD64) installer available
2-
{% set versions = {'6.0':[27], '5.2':[0,1,2,3], '5.0':[1,2,3,4,5,6,7], '4.4':[1,2,3,4,5,10], '4.2':[3,4,5,6,7,8], '4.0':[9,10,11,12,13,14,15,16,17,22,23,24,25,26,27], '3.0':[26,27,28,29]} %}
2+
{% set versions = {'7.0':[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18], '6.0':[27], '5.2':[0,1,2,3], '5.0':[1,2,3,4,5,6,7], '4.4':[1,2,3,4,5,10], '4.2':[3,4,5,6,7,8], '4.0':[9,10,11,12,13,14,15,16,17,22,23,24,25,26,27], '3.0':[26,27,28,29]} %}
33
{% set source_path = 'https://cdn.zabbix.com/zabbix/binaries/stable/' %}
44

55
zabbix-agent:

0 commit comments

Comments
 (0)