qualys_agent
: Manage an installation of the Qualys Cloud Agentqualys_agent::config
: Configure the Qualys agentqualys_agent::config::qagent_log
: Manage the main qagent-log.conf configuration filequalys_agent::config::qagent_udc_log
: Manage the main qagent-udc-log.conf configuration filequalys_agent::package
: Manage the Qualys agent's package installationqualys_agent::service
: Configure the Qualys agent servicequalys_agent::user
: Configure the user and group to run the Qualys agent service
Manage an installation of the Qualys Cloud Agent
class { 'qualys_agent':
activation_id => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
customer_id => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
}
The following parameters are available in the qualys_agent
class:
ensure
activation_id
agent_group
agent_user
agent_user_homedir
cmd_max_timeout
cmd_stdout_size
conf_dir
customer_id
env_dir
hostid_path
hostid_search_dir
https_proxy
log_dest_type
log_file_dir
log_group
log_level
log_mode
log_owner
manage_group
manage_package
manage_service
manage_user
package_ensure
package_name
process_priority
qualys_https_proxy
request_timeout
service_enable
service_ensure
service_name
sudo_command
sudo_user
use_audit_dispatcher
use_sudo
webservice_uri
Data type: Enum['absent', 'present']
Ensure that the Qualys agent is present on the system, or absent.
Data type: Variant[String[1], Sensitive[String[1]]]
The Activation ID you receive from Qualys for reporting back to their API (required)
Data type: Optional[String]
The group that should run the agent. This also will be the UserGroup setting in the configuration file. (Default: undef
)
Data type: Optional[String]
The user that should run the agent (Default: undef
)
Data type: Stdlib::Absolutepath
The fully qualified path to the agent user's home directory (Default: /usr/local/qualys
)
Data type: Integer
The CmdMaxTimeOut value in qualys-cloud-agent.conf (Default: 1800
)
Data type: Integer
The CmdStdOutSize value in qualys-cloud-agent.conf (Default: 1024
)
Data type: Stdlib::Absolutepath
The directory where the qualys-cloud-agent.conf file will exist (Default: /etc/qualys/cloud-agent
)
Data type: Variant[String[1], Sensitive[String[1]]]
The Customer ID you receive from Qualys for reporting back to their API (required)
Data type: Stdlib::Absolutepath
The directory in which to place the environment variable file qualys-cloud-agent. (Default: /etc/sysconfig
)
Data type: Stdlib::Absolutepath
The full filesystem path to the hostid file (Default: /etc/qualys/hostid
)
Data type: Optional[Stdlib::Absolutepath]
The HostIdSearchDir value in qualys-cloud-agent.conf (Default: undef
)
Data type: Optional[String]
The https proxy to be used for all commands performed by the Cloud Agent. (Default: undef
)
Data type: Enum['file', 'syslog']
The log type (file or syslog) (Default: file
)
Data type: Stdlib::Absolutepath
The LogFileDir value in qualys-cloud-agent.conf
The directory in which the log files should be written (Default: /var/log/qualys
)
Data type: Optional[String]
The group that should own files in the log directory (Default: $agent_group
)
Data type: Integer
The LogLevel value in qualys-cloud-agent.conf (Default: 3
)
Data type: String
The file mode for log files in $log_file_dir (Default: 0600
)
Data type: Optional[String]
The user that should own files in the log directory (Default: $agent_user
)
Data type: Boolean
Boolean to determine whether the group is managed by Puppet or not (Default: true
)
Data type: Boolean
Boolean to determine whether the package is managed by Puppet or not (Default: true
)
Data type: Boolean
Boolean to determine whether the service is managed by Puppet or not (Default: true
)
Data type: Boolean
Boolean to determine whether the user is managed by Puppet or not (Default: true
)
Data type: String
The "ensure" value for the Qualys agent package. This value can be "installed", "absent",
or a version number if you want to specify a specific package version numer. (Default: installed
)
Data type: String
The name of the package to install (Default: qualys-cloud-agent
)
Data type: Integer
The ProcessPriority value in qualys-cloud-agent.conf (Default: 0
)
Data type: Optional[String]
The https proxy to be used by the Cloud Agent to communicate with qualys cloud platform. (Default: undef
)
Data type: Integer
The RequestTimeOut value in qualys-cloud-agent.conf (Default: 600
)
Data type: Boolean
Boolean to determine whether the service is enabled or not (Default: true
)
Data type: Enum['running', 'stopped']
Ensure that the Qualys agent is running on the system, or stopped (Default: running
)
Data type: String
The name of the Qualys agent service (Default: qualys-cloud-agent
)
Data type: String
The SudoCommand value in qualys-cloud-agent.conf (Default: sudo
)
Data type: String
The SudoUser value in qualys-cloud-agent.conf (Default: undef
)
Data type: Integer
The UseAuditDispatcher value in qualys-cloud-agent.conf (Default: 1
)
Data type: Integer
The UseSudo value in qualys-cloud-agent.conf (Default: 0
)
Data type: Optional[String]
The ServerUri value in qualys-cloud-agent.conf (Default: undef
)
Manage the main qualys-cloud-agent.conf configuration file. This class also includes the qagent_log
and
qagent_udc_log
subclasses to configure both log configuration files.
Manage the main qagent-log.conf configuration file
Manage the main qagent-udc-log.conf configuration file
Install or uninstall the Qualys agent package
Manage the system service that runs the Qualys agent
Manage the system user and group that run the Qualys agent