Template - addHpuxPatchListPart

Template - addHpuxPatchListPart

Description :

This command adds an Hpux Patch list to an existing template. This command returns a handle to the updated template. Note that this handle is different from any previously returned handles. All other handles are invalid.

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

templateKey

DBKey

Handle to the existing template to which you want to add the Hpux patch list.

Example

The following example shows how to add the top level Hpux patch node to a template. You can add other top level nodes without options in a similar manner:

Script


# Name of the existing template. 

TEMPLATE_NAME="template1" 

# Group template in which template is stored. 

TEMPLATE_GROUP="/parent/group1" 

# Get the template DBKey using the above information. 

TEMPLATE_DBKEY=`blcli Template getDBKeyByGroupAndName $TEMPLATE_GROUP $TEMPLATE_NAME` 

# Now add the node to the template. 

TEMPLATE_DBKEY=`blcli Template addHpuxPatchListPart $TEMPLATE_DBKEY` 

# Use the returned DBKey to add more items to the template. 



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

Comments