apt Package Manager Tools
apt integration is via packageInstall and related. See (packages)[./package.md].
This supports packageInstall --manager apt.
aptIsInstalled
Is apt-get installed?
Usage
aptIsInstalled
Is apt-get installed?
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error
aptNonInteractive
Run apt-get non-interactively
Usage
aptNonInteractive [ ... ]
Run apt-get non-interactively
Arguments
...- Arguments. Pass through arguments toapt-get
Return codes
0- Success1- Environment error2- Argument error
Apt Key Management
aptSourcesDirectory
Get APT source list path
Usage
aptSourcesDirectory
Get APT source list path
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error
aptKeyAdd
Add keys to enable apt to download terraform directly from
Usage
aptKeyAdd --name keyName [ --title title ] remoteUrl
Add keys to enable apt to download terraform directly from hashicorp.com
Return Code: 1 - if environment is awry Return Code: 0 - Apt key is installed AOK
Arguments
--title title- Optional. String. Title of the key.--name name- Required. String. Name of the key used to generate file names.--url remoteUrl- Required. URL. Remote URL of gpg key.
Return codes
0- Success1- Environment error2- Argument error
aptKeyRemove
Remove apt keys
Usage
aptKeyRemove keyName [ ... ]
Remove apt keys
Return Code: 1 - if environment is awry Return Code: 0 - Apt key is installed AOK
Arguments
keyName- Required. String. One or more key names to remove.--skip- Flag. Optional.a Do not doapt-get updateafterwards to update the database.
Return codes
0- Success1- Environment error2- Argument error
aptKeyRingDirectory
Get key ring directory path
Usage
aptKeyRingDirectory
Get key ring directory path
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error