-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1567 from scheste/patch-31
Update ossec-agent
- Loading branch information
Showing
1 changed file
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
# just 32-bit x86 installer available | ||
|
||
{% set source_path = 'https://updates.atomicorp.com/channels/atomic/windows/' %} | ||
|
||
{% if grains['cpuarch'] == 'AMD64' %} | ||
{% set PROGRAM_FILES = "%ProgramFiles(x86)%" %} | ||
{% set program_files = "%ProgramFiles(x86)%" %} | ||
{% else %} | ||
{% set PROGRAM_FILES = "%ProgramFiles%" %} | ||
{% set program_files = "%ProgramFiles%" %} | ||
{% endif %} | ||
|
||
{% set versions = { | ||
'3.2.0':['6132'], | ||
'3.1.0':['5732'], | ||
'3.0.1':['5667'], | ||
'3.0.0':['5609'], | ||
'2.9.4':['5177'], | ||
'2.9.3':['4466'], | ||
'2.9.2':['2760'], | ||
'2.9.0':['2017'], | ||
} %} | ||
|
||
ossec-agent: | ||
'2.8': | ||
full_name: 'OSSEC HIDS 2.8' | ||
installer: 'salt://win/repo/ossec/ossec-agent-win32-2.8.exe' | ||
{% for major, subversions in versions.items() %} | ||
{% for minor in subversions %} | ||
'{{ major }}': | ||
full_name: 'OSSEC HIDS {{ major }}' | ||
installer: '{{ source_path }}ossec-agent-win32-{{ major }}-{{ minor }}.exe' | ||
install_flags: '/S' | ||
uninstaller: '{{ PROGRAM_FILES }}\ossec-agent\uninstall.exe' | ||
uninstaller: '{{ program_files }}\ossec-agent\uninstall.exe' | ||
uninstall_flags: '/S' | ||
msiexec: False | ||
locale: en_US | ||
reboot: False | ||
# The official download page for the OSSEC agent is http://www.ossec.net/?page_id=19 | ||
{% endfor %} | ||
{% endfor %} |