N1 Grid Service Provisioning System User's Guide and Release Notes for the Solaris Plug-In 2.0

Solaris Patch Component Type

The com.sun.solaris#Patch component type is the only component type delivered by the Solaris plug-in for use with Solaris patches. To deploy Solaris patches using the N1 Grid Service Provisioning System, create components of type com.sun.solaris#Patch. For more information about creating components, see Chapter 4, Plans, in N1 Grid Service Provisioning System 5.0 Plan and Component Developer’s Guide.

Component Variables

installName

The name to use for the patch when it is installed. The default value is the name of the patch component.

installPath

The path on the target host where the patch will be downloaded.

rootDirectory

The path on the target host where the patch will be installed.

validateFiles

This variable enables you to supply the -u option to patchadd(1M) when the patch is added to the target host. The -u option turns off file validation.patchadd applies the patch even if some of the files to be patched have been modified since their original installation. Valid values are true and false.

patchID

This value is the ID of the patch.


Note –

Changing the value of this variable might cause the patch deployment to fail.


Component Procedures

default: install

Use this procedure to install a patch on a target system or systems.

markOnly: install

If you manually installed a patch on a target system or systems but want the provisioning system database to be aware that the patch is installed on those systems, use this procedure.

default: uninstall

Use this procedure to uninstall a patch from a target system or systems.

markOnly: uninstall

If you manually uninstalled a patch from a target system or systems but want the provisioning system database to be aware that the patch has been uninstalled from those systems, use this procedure.