Constraint rules are used to place value constraints on specific types of CA Configuration Automation elements, including the following:
Constraint rules are always associated one-to-one with an element and can be either:
In addition to the explicit constraint rules that you create, there are implicit constraint rules built in to CA Configuration Automation. For example, if you specify a particular value or data type for an element, CA Configuration Automation automatically creates an implicit Check Default or Verify Data Type rule.
Constraint rules are initiated, viewed, and edited from the Rules field of the selected Component Blueprint.
The number of defined constraint rules or None is displayed in the brackets to the right of Rules. From the drop-down list, you can view a specific constraint rule, view all constraint rules, or add constraint rules.
If you select a specific constraint rule, the name is displayed in the Rules field and the associated attribute sheet is displayed. You can edit or delete most rules from the attribute sheet.
When a default value is specified in a Component Blueprint, an implicit Check Default rule is automatically created. These default rules are informational (they show in Rule Compliance as Information, with an icon), and let you know when a value deviates from the recommended default.
Explicitly defined constraint rules derive their value from the element or from associated element attribute. The available attributes and the value type vary for each element in CA Configuration Automation, so constraint rules vary significantly by element type. For example:
|Element Type||Allowable Constraint Rules|
File Modification Time
Number of directories
Number of files
Directory Modification Time
Directory Must Exist
File Must Exist
|Rules, Parameters, Groups, Registry Keys and Values||Value|