AgentBundle - updateAgentPackageOfBundle
AgentBundle - updateAgentPackageOfBundle
Description :
Updates a package of an existing Agent Bundle. The package currently associated with the agent platform id will be replaced with the new package. If no package currently exists for the associated agent platform id then the package will be added to the Agent Bundle.
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 update. |
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 updates the agent installer for Windows 64-bit platforms with a new installer from an existing Agent Bundle.
Script
blcli AgentBundle updateAgentPackageOfBundle /group1 bundle1 "Windows 64-bit" MSI_WINDOWS_INSTALLABLE /group2 agent.msi
Comments
Log in or register to comment.