From e418c534f712d996a486e0c0c9038c5a2fb7aed1 Mon Sep 17 00:00:00 2001 From: coreymbe Date: Mon, 28 Oct 2024 08:44:29 -0700 Subject: [PATCH] (MAINT) Install Puppet Server Task --- tasks/install_puppetserver.json | 4 ++-- tasks/install_puppetserver.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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