Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/install.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"description": "Installs the openvox-agent package.",
"parameters": {
"version": {
"description": "The version of the openvox-agent package to install. Defaults to latest.",
"description": "TODO The version of the openvox-agent package to install. Defaults to latest.",
"type": "Optional[String]"
},
"collection": {
"description": "The openvox collection to install from.",
"type": "String",
"type": "Optional[String]",
"default": "openvox8"
},
"apt_source": {
Expand Down
7 changes: 4 additions & 3 deletions tasks/install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ set -e
# shellcheck disable=SC2154
installdir=$PT__installdir
# shellcheck disable=SC2154
collection=$PT_collection
collection=${PT_collection:-'openvox8'}
# shellcheck disable=SC2154
yum_source=$PT_yum_source
yum_source=${PT_yum_source:-'https://yum.overlookinfratech.com'}
# shellcheck disable=SC2154
apt_source=$PT_apt_source
apt_source=${PT_apt_source:-'https://apt.overlookinfratech.com'}

tempdir=$(mktemp -d)
trap 'rm -rf $tempdir' EXIT
Expand Down Expand Up @@ -213,6 +213,7 @@ install_release_package() {
esac
}

# TODO add support for the version parameter.
install_package() {
local _package="$1"

Expand Down
Loading