HP-UX CMGR A.02.01 Administrator's and Developer's Guide

19
Attribute Description
compartment
Optional. Common attribute.
id
Optional.
if
Optional.
if_op
Optional.
prmfile
Required.
Specifies the PRM configuration file to use.
prmactivate
Optional.
If
FALSE
, do not execute the prm activation command. Default is
TRUE
.
prmvalidate
Optional
If
FALSE
, do not execute the prm validation command. Default is
TRUE.
2.2.9 The provision Element
The provision element manages user defined provision scripts specifed by the prog attribute.
Upon invocation, the provision handler checks the operation option from the cmgr command and
performs one of the following tasks:
Operation
Description
add
If pass_variables is set to yes, the provision handler invokes the provision
script, specified with the prog attribute. The provision script is invoked with all the
template variables not marked as internal in the var element:
prog add var=”value” …
If pass_variables is set to no, the handler adds the concatenated data child
elements to the beginning of the tag_file file. The provision handler then invokes
the prog provision script with the following command, using the concatenated data:
prog -add <concatenated data>
You must include meta-tags around the configuration data to be added in the file
identified by the attribute tag_file. See 2.2.10 Using
meta-tags for more information on
meta-tags.
delete
If pass_variables is set to yes, the provision handler invokes the prog
provision script with the following command:
prog delete var=”value” …
If pass_variables is set to no, the handler searches the tag_file file for the first
block of data with the matching meta tag in the concatenated child data elements. If a
match is found, the meta-tags and all data in between are deleted. The handler then
invokes the prog provision script with the following command, using the data
previously found in the tag_file file:
prog -delete <data>
replace
If pass_variables is set to yes, the provision handler invokes the prog
provision script with the following command, using the concatenated data:
prog replace var=”value” …
If
pass_variables
is set to
no
, the handler performs a
delete
followed by an
add