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.

AgentBundle - addAgentPackageToBundle


AgentBundle - addAgentPackageToBundle

Description :

Adds a package to an existing Agent Bundle. If a package currently exists for the associated agent platform id then the package will be replaced with the new package.

You can set the agentPlatform argument to one of the following strings:

  • AIX
  • Linux 32-bit
  • Linux 64-bit
  • Linux 64-bit S390
  • Solaris 8/9 SPARC
  • Solaris 8/9 x86
  • Solaris 10/11 SPARC
  • Solaris 10/11 x86
  • Windows 32-bit
  • Windows 64-bit

You can set the softwareType argument to one of the following strings:

  • AIX_PACKAGE_INSTALLABLE
  • MSI_WINDOWS_INSTALLABLE
  • RPM_INSTALLABLE
  • SOLARIS_PACKAGE_INSTALLABLE

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupPath

String

Path to group containing agent bundle to be modified.

bundleName

String

Name of the agent bundle to be modified.

agentPlatform

String

Agent platform for the agent package to add.

softwareType

String

Type of depot software to be added.

softwarePath

String

Path to group containing depot software to be added.

softwareName

String

Name of the depot software to be added.

Example

The following example adds an agent installer for Windows 64-bit platforms to an existing Agent Bundle.

Script





blcli AgentBundle addAgentPackageToBundle /group1 bundle1 "Windows 64-bit" MSI_WINDOWS_INSTALLABLE /group2 agent.msi



 

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