Adding a local property to a BLPackage

When editing a BLPackage, you can assign local properties directly to the package. These properties only apply to the BLPackage; they are not available globally like properties created in the Property Dictionary.

Assigning local properties to a BLPackage allows you to deploy the same BLPackage to the same server more than once. For example, suppose you want to install two instances of an Apache server on the same machine. To accomplish this you can insert a parameter ??INSTALL_DIR?? into the path for the BLPackage that encapsulates the Apache server (for example, ??INSTALL_DIR??/apache). Then you can create a Deploy Job for that BLPackage. The first time you run the Deploy Job, you can assign one value for the INSTALL_DIR local property. The next time you run the Deploy Job, you can assign a different value. In this way you can deploy the same BLPackage to the same server multiple times.

In earlier releases of BMC Server Automation, a parameter in a BLPackage could only refer to property values that were assigned to target servers where the package was deployed. You can continue to use parameters in this way. To do so, you insert a property that references the target server. These properties are all subordinate to the TARGET property. For example, you could insert a parameter called ??TARGET.DEPLOYPATH??.

To add a local property to a BLPackage

Use the Local Properties tab to add a local property to the BLPackage or to modify an existing local property. For description of this procedure, see Adding or modifying properties.

Was this page helpful? Yes No Submitting... Thank you

Comments