This module installs and configure OSSEC HIDS agent and manager.
This Puppet module has been authored by Nicolas Zin, and updated by Jonathan Gazeley and Michael Porter. Wazuh has forked it with the purpose of maintaing it. Thank you to the authors for the contribution.
-
set chocolatey installation support -
$ export OSSEC_CHOCOLATEY_ENABLED=true
. -
add puppet environment variables for
spec_helper_acceptance.rb
$ export PUPPET_INSTALL_TYPE=agent $ export PUPPET_INSTALL_VERSION=1.9.3
-
run default acceptance test
$ bundle exec rake beaker
. This will only execute the windows test with ossec agent 2.9.2 -
run ubuntu agent test
BEAKER_setfile=spec/acceptance/nodesets/ubuntu-1404.yaml bundle exec rspec spec/acceptance/
. -
run centos agent test
BEAKER_setfile=spec/acceptance/nodesets/centos-72.yaml bundle exec rspec spec/acceptance
-
run windows 2012r2 with agent 2.8
BEAKER_setfile=spec/acceptance/nodesets/windows-2012r2-ossec28.yaml bundle exec rspec spec/acceptance
-
run docker beaker-rspec
BEAKER_setdir=spec/acceptance/nodesets/docker BEAKER_set=ubuntu-1404 bundle exec rspec spec/acceptance/