Installation guide

Table Of Contents
What to do next
Add the rule to your template. When the Compliance Template is run, it 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.
Create Compliance Rules Containing Software Provisioning Remediation
Actions
When configuring a Compliance rule, you can configure the rule to perform a remediation based on a
software provisioning action such as Install Package, Remove Package, Add Source, or Remove Source.
In this procedure, the example is to determines whether a software application named XSoftware is
installed. If the software is installed correctly, a service named XService should be running. Configure a
Compliance rule to determine if XService service is running. If it is not running, install the XSoftware
package.
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. On the Rule and Name page, type a Name and Description for your rule and click Next.
6. On the Data Type page, expand Windows, select the data type on which you are basing the rule, and
click Next.
The data type does not need to be software based. In this example, select Services.
7. On the Rule Type for Services page, select Conditional (if/then) and click Next.
8. On the Conditional Data properties page, configure the options and click Next.
a. In the IF section, click Add.
b. Select Services Name = XService.
c. Select Must Exist.
d. In the THEN section, click Add.
e. Select State = Running.
9. On the Options page, configure the options.
a. Select a Severity in the drop-down menu.
b. Select Make available for enforcement where possible.
c. Select Software Provisioning action.
d. Select Install Package in the drop-down menu, and click Define Action.
e. On the Software Provisioning Compliance Remediation page select the XSoftware package to
install if the rule you are configuring fails.
vCenter Configuration Manager Administration Guide
190
VMware, Inc.