User`s guide

Table Of Contents
In this example the Compliance rule checks whether the source, where platform=Any and section=Release,
was added to selected Package Managers as a source. If not, then add the repository source to the
machines where the rule fails.
Procedure
1. Select Compliance > Machine Group Compliance > Rule Groups. Either add a rule to an existing rule
group or create a new rule group.
2. To add a rule to a Rule Group, expand your rule group, and then select Rules. The Rules data grid
appears.
3. Click Add. The Rule and Name page of the Rule Wizard appears.
4. Type a Name and Description for your rule.
5. Click Next. The Data Type page appears.
6. Expand Windows and select the data type on which you are basing the rule. The data type does not
need to be software based, you will later configure the software provisioning remediation. In this
example, select Services.
7. Click Next. The Rule Type for Services page appears.
8. Select Conditional (if/then), and then click Next. The Conditional Data properties for Services page
appears.
9. In the IF area, click Add.
10. Select Source Repository = YourRepository.
11. Select Must Exist.
12. In the THEN area, select Platform = Any and Section = Release.
13. Next. The Options page appears.
14. Select a Severity in the drop-down list.
15. Select Make available for enforcement where possible.
16. Select Software Provisioning action.
17. Select Add Source in the drop-down list, and then click Define Action. The Software Provisioning
Compliance Remediation page appears.
18. Select Add source to the beginning of existing source list.
19. Click Browse Sources to select the repository URI where the Platform=Any and Section=Release exist.
The Platform and Section update with Any and Release respectively.
20. Click OK to close the page, and then click Next. The Collection filters page appears.
21. Select the Provisioning - Package Managers collection filter.
22. Click Next. The Important page appears.
23. Review the information, and then click Finish to save your rule.
When the Compliance Template is run, if the checks the target machines to determine if the repository
source is added as a source. If it is not, the source is added to the machines Package Manager.
Creating Compliance Rules containing Provisioning Remediation Actions
When configuring a Compliance rule, you can configure the rule to perform a remediation based on a
software provisioning action -- Install Package, Remove Package, Add Source, Remove Source.
Getting Started with Software Provisioning
VMware, Inc. 197