Unverified Commit 11a07cb8 authored by TheBigBear's avatar TheBigBear Committed by GitHub
Browse files

Update sensu.sls

parent 2ae345db
{% if grains['cpuarch'] == 'AMD64' %}
{% set cpuarch = "x64" %}
{% else %}
{% set cpuarch = "x86" %}
{% endif %}
{% if grains['osrelease'] == '2008ServerR2' %}
{% set osrelease = "2008r2" %}
{% elif grains['osrelease'] == '2008Server' %}
{% set osrelease = "2008" %}
{% elif grains['osrelease'] == '2012ServerR2' %}
{% set osrelease = "2012r2" %}
{% elif grains['osrelease'] == '2012Server' %}
{% set osrelease = "2012" %}
{% elif grains['osrelease'] == '2016Server' %}
{% set osrelease = "2016" %}
{% endif %}
sensu:
{% for version in ['1.4.2',
'1.0.2',
'0.28.4',
'0.26.5',
'0.26.3',
'0.25.3'] %}
'{{ version }}':
'0.26.3.1':
full_name: 'Sensu'
installer: 'http://sensu.global.ssl.fastly.net/msi/{{ osrelease }}/sensu-{{ version }}-1-{{ cpuarch }}.msi'
installer: 'https://sensu.global.ssl.fastly.net/msi/sensu-0.26.3-1.msi'
install_flags: '/qn /norestart'
uninstaller: 'http://sensu.global.ssl.fastly.net/msi/{{ osrelease }}/sensu-{{ version }}-1-{{ cpuarch }}.msi'
uninstaller: 'https://sensu.global.ssl.fastly.net/msi/sensu-0.26.3-1.msi'
uninstall_flags: '/qn /norestart'
msiexec: True
locale: en_US
reboot: False
{% endfor %}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment