diff --git a/tasks/install_puppetserver.json b/tasks/install_puppetserver.json index 18be391..e437b54 100644 --- a/tasks/install_puppetserver.json +++ b/tasks/install_puppetserver.json @@ -4,11 +4,11 @@ "description": "install puppetserver community edition", "parameters": { "collection": { - "description": "The name of the node", + "description": "The Puppet Server version", "type": "Optional[String[1]]" }, "platform": { - "description": "The name of the node", + "description": "The operating system and version", "type": "Optional[String[1]]" }, "retry": { diff --git a/tasks/install_puppetserver.sh b/tasks/install_puppetserver.sh index 9b00c18..4cbd750 100644 --- a/tasks/install_puppetserver.sh +++ b/tasks/install_puppetserver.sh @@ -150,7 +150,7 @@ if [[ "$osfamily" == "unsupported" ]]; then fi if [[ "$osfamily" == "debian" ]]; then - codename=$(fetch_codename "$collection $major_version") + codename=$(fetch_codename "$collection" "$major_version") if [[ "$codename" == "unsupported" ]]; then echo "No builds for $platform" exit 1