apt Package Manager Tools
apt integration is via packageInstall and related. See (packages)[./package.md].
This supports packageInstall --manager apt.
Usage
aptIsInstalled
Is apt-get installed?
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error
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
Usage
aptSourcesDirectory
Get APT source list path
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error
Usage
aptKeyAdd [ --title keyTitle ] --name keyName --url remoteUrl [ --help ]
Add keys to enable apt to download terraform directly from hashicorp.com
Arguments
--title keyTitle- String. Optional. Title of the key.--name keyName- String. Required. Name of the key used to generate file names.--url remoteUrl- URL. Required. Remote URL of gpg key.--help- Flag. Optional. Display this help.
Return codes
1- if environment is awry0- Apt key is installed AOK
Usage
aptKeyRemove keyName [ --skip ] [ --help ]
Remove apt keys
Arguments
keyName- String. Required. One or more key names to remove.--skip- Flag. Optional. a Do not doapt-get updateafterwards to update the database.--help- Flag. Optional. Display this help.
Return codes
1- if environment is awry0- Apt key was removed AOK
Usage
aptKeyRingDirectory
Get key ring directory path
Arguments
- none
Return codes
0- Success1- Environment error2- Argument error