Installation guide

Table Of Contents
Create Compliance Rules Based on Software Provisioning Data
A Compliance rule based on software provisioning data detects any packages or sources that are out of
compliance. You can configure remediation actions to bring the machines back into compliance.
In this example the Compliance rule checks whether the source, where the values are 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. Click Compliance.
2. Select Machine Group Compliance > Rule Groups.
3. Expand your rule group and select Rules.
4. On the Rules data grid, click Add.
5. Type a Name and Description for your rule and click Next.
6. On the Data Type page, expand Windows and select the data type on which you are basing the rule
and click Next.
In this example, select Software Provisioning - Package Managers - Sources.
7. On the Rule Type page, select Conditional (if/then) and click Next.
8. On the Conditional Data page, configure the options.
a. In the IF area, click Add.
b. Select Source Repository URI = YourRepository.
c. Select Must Exist.
d. In the THEN area, click Add and select Platform = Any and Section = Release.
e. Click Next.
9. On the Options page, configure the settings.
a. Select a Severity in the drop-down menu.
b. Select Make available for enforcement where possible.
c. Select Software Provisioning action.
d. Select Add Source in the drop-down menu and click Define Action.
e. On the Software Provisioning Compliance Remediation page, select Add source to the beginning
of existing source list.
f. Click Browse Sources and select the repository URI where the Platform=Any and Section=Release
exist, and click OK.
The Platform and Section update with Any and Release respectively.
g. Click OK.
h. Click Next.
10. On the Collection filters page, select the Provisioning - Package Managers collection filter and click
Next.
11. On the Important page, review the information and click Finish to save your rule.
Provisioning Software on Managed Machines
VMware, Inc.
189