File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22 "description" : " Installs the openvox-agent package." ,
33 "parameters" : {
44 "version" : {
5- "description" : " The version of the openvox-agent package to install. Defaults to latest." ,
5+ "description" : " TODO The version of the openvox-agent package to install. Defaults to latest." ,
66 "type" : " Optional[String]"
77 },
88 "collection" : {
99 "description" : " The openvox collection to install from." ,
10- "type" : " String" ,
10+ "type" : " Optional[ String] " ,
1111 "default" : " openvox8"
1212 },
1313 "apt_source" : {
Original file line number Diff line number Diff line change 66# shellcheck disable=SC2154
77installdir=$PT__installdir
88# shellcheck disable=SC2154
9- collection=$PT_collection
9+ collection=${ PT_collection:- ' openvox8 ' }
1010# shellcheck disable=SC2154
11- yum_source=$PT_yum_source
11+ yum_source=${ PT_yum_source:- ' https://yum.overlookinfratech.com ' }
1212# shellcheck disable=SC2154
13- apt_source=$PT_apt_source
13+ apt_source=${ PT_apt_source:- ' https://apt.overlookinfratech.com ' }
1414
1515tempdir=$( mktemp -d)
1616trap ' rm -rf $tempdir' EXIT
@@ -213,6 +213,7 @@ install_release_package() {
213213 esac
214214}
215215
216+ # TODO add support for the version parameter.
216217install_package () {
217218 local _package=" $1 "
218219
You can’t perform that action at this time.
0 commit comments