Chapter 3. Configuring compliance policy deployment methods
Use one the following procedures to configure Satellite for the method that you have selected to deploy compliance policies. You will select one of these methods when you later create a compliance policy.
3.1. Compliance policy deployment options Copy linkLink copied to clipboard!
With Satellite, multiple methods are available for compliance policy deployment.
You can use one of the following methods to deploy compliance policies:
- Ansible deployment
- You use an Ansible role to configure hosts for compliance scans.
- Puppet deployment
- You use a Puppet class and the Puppet agent to configure hosts for compliance scans.
- Manual deployment
You manually configure hosts for compliance scans.
For the manual deployment method, no additional Satellite configuration is required.
3.2. Configuring Satellite for Ansible compliance policy deployment Copy linkLink copied to clipboard!
If you want to use Ansible to deploy compliance policies, configure Satellite for Ansible compliance policy deployment.
Procedure
Import the
theforeman.foreman_scap_clientAnsible role.For more information, see Managing configurations by using Ansible integration.
-
Assign the created policy and the
theforeman.foreman_scap_clientAnsible role to a host or host group. To trigger the deployment, run the Ansible role on the host or host group either manually, or set up a recurring job by using remote execution for regular policy updates.
For more information, see Configuring and Setting Up Remote Jobs in Managing hosts.
3.3. Configuring Satellite for Puppet compliance policy deployment Copy linkLink copied to clipboard!
If you want to use Puppet to deploy compliance policies, configure Satellite for Puppet compliance policy deployment.
Procedure
- Ensure Puppet is enabled.
- Ensure the Puppet agent is installed on hosts.
Import the Puppet environment that contains the
foreman_scap_clientPuppet module.For more information, see Managing configurations by using Puppet integration.
Assign the created policy and the
foreman_scap_clientPuppet class to a host or host group.Puppet triggers the deployment on the next regular run or you can run Puppet manually. Puppet runs every 30 minutes by default.