DepotSoftware - addDebToDepotByGroupName_1

DepotSoftware - addDebToDepotByGroupName

Description :

This command adds a Debian package to the Depot with the URL mounting options. To add a Debian package without having to specify the URL mounting options, use addDebToDepotByGroupName .

Use the urlTypeName argument to indicate the name of the deployable URL type. urlTypeName can be one of the following:

  • FILE_SERVER: Upload source to file server. When you use this option, you cannot use property references in the source location.
  • AGENT_COPY_AT_STAGING: Copy to agent at staging.
  • AGENT_MOUNT: Agent mounts source for direct use at deployment (no local copy).

Return type : DBKey

Command Input :

Variable Name

Variable Type

Description

groupName

String

Full path to the depot group containing the Debian package.

softwareLocation

String

Location of the software package you are adding. This can be either a fully qualified NSH path or a network URL.

name

String

Display name of the Debian package.

skipCopySource

Boolean

True means do not copy source to undo directory. False means copy source to undo directory.

urlTypeName

String

Name of the deployable URL type.

altNSHPath

String

The alternative NSH path to the Debian package that contains the system info.

Example

The following example shows how to add a Debian package to the Depot. Note that the location is an NFS path to the Debian package, which is applicable when the URL Type is AGENT_MOUNT.

Script


DEPOT_GROUP=/debian 

DEB_LOC=nfs://fileserver1/debians/custom-db-1.1.0.deb 

DEB_NAME="Install Custom db" 

SKIP_COPY_SRC=true 

URL_TYPE=AGENT_MOUNT 

ALT_NSH_PATH=//filestore1/debians/custom-db-1.1.0.deb 

`blcli DepotSoftware addDebToDepotByGroupName $DEPOT_GROUP $DEB_LOC $DEB_NAME $SKIP_COPY_SRC $URL_TYPE $ALT_NSH_PATH` 



Was this page helpful? Yes No Submitting... Thank you

Comments