Sun Update Connection - Enterprise 1.0 User's Guide

List Profile Attributes (-lpa) Command

The list-profile-attribute command outputs the attributes, the component-requirement combinations that make up a profile.

Parameter

  • -P profile Specify the name of an existing profile.

  • -dlt delimiter Specify the delimiter for the output.

Syntax

uce_cli -lpa -P "profile" [ -dlt "delimiter" ] -u username -p password

Example

uce_cli -lpa -P "create WebServer" -u admin -p 123

Result Example


Profile name = createWebServer
from node = httpd-devel (RH9_IA32)
Install
from node = httpd (RH9_IA32)
Install
from node = httpd-manual (RH9_IA32)
Install
from node = vsftpd (RH9_IA32)
Uninstall
from node = tftp (RH9_IA32)
Uninstall
from node = ftp (RH9_IA32)
Install

To get valid values for -P, use the -lp command.

If a predefined profile is used for the -P parameter, the output will be just the name of the profile.

Notice that the action is listed under the component (node). Although the action is listed as install or uninstall or upgrade or downgrade, a profile checks compliance. If the component is already installed and the action is “Install,” nothing is done and the profile succeeds.