Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*