- Overview
- Module Description
- Setup
- Usage
- Reference
- Limitations - OS compatibility, etc.
- Release Notes
- Contributors
Install and configure the Qualys Cloud Agent on a system.
This module will install the Qualys Cloud Agent from a repository and keep the required configuration files updated.
Due to the nature of Qualys' distribution methods, making the actual package available in a repository is outside the scope of this module. In most cases, you can create your own custom Yum, Apt, etc. repository and serve out the qualys-cloud-agent
package you can download from the Qualys interface.
No trailing slashes should be provided for any paths.
puppet module install broadinstitute-qualys_agent
mod 'broadinstitute/qualys_agent'
class { 'qualys_agent':
activation_id => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
customer_id => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
}
---
classes:
- qualys_agent
qualys_agent::activation_id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
qualys_agent::customer_id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
The configuration is a little tricky if you want to run as a non-root user. To do so, you need to set several options in the configuration together. An example is configured below:
qualys_agent::activation_id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
qualys_agent::agent_user: 'qualys_auth'
qualys_agent::customer_id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
qualys_agent::sudo_user: 'qualys_auth'
qualys_agent::use_sudo: 1
This turns on the use of sudo, but it also sets the User
and SudoUser
variables in the configuration file, which are both necessary to make the service run as a non-root user.
REFERENCE.md (generated with Puppet Strings)
This has currently only been tested extensively on RedHat-based systems.