This module is provided for deploying and configuring Rapid7 Insight Agent on Red Hat Enterprise Linux (and clones).
This module can be used to install, configure, and remove Rapid7 Insight Agent. Configurable options include proxy settings and enabling and disabling auditd compatibility mode.
This module requires (but does not include) the agent installer script from Rapid7. You will also need an installation token from Rapid7 to download the required certificates during installation.
A basic usage of the class.
class { '::ir_agent':
source => 'puppet:///modules/test/agent_installer_x64.sh',
token => 'us:01234567-89ab-cdef-0123-4567890abcde',
}
In most cases the basic usage is sufficient. For other cases, using a proxy and enabling auditd compatibility mode might be necessary.
class { '::ir_agent':
source => 'puppet:///modules/test/agent_installer_x64.sh',
token => 'us:01234567-89ab-cdef-0123-4567890abcde',
auditd_compatibility_mode => true,
https_proxy => 'proxy.example.org:3128',
}
If this module is used to install the Insight agent, it will install the audit package because it is a requirement for the Insight agent. If this module is later used to remove the Insight agent, it will not remove the audit package and it will enable and start the auditd service (if it was stopped and disabled) unless the manage_auditd attribute is set to false. The audit package can then be removed and this module will not reinstall the audit package as long as ensure => absent.
If the manage_auditd attribute is set to false and auditd_compatibility_mode is set to true, this module will not manage auditd in any way. It is important that auditd is properly configured to support Insight Agent in auditd compatibility mode.
https://docs.rapid7.com/insight-agent/auditd-compatibility-mode-for-linux-assets/