Skip to content

Commit

Permalink
Merge pull request #277 from coreymbe/MAINT-install_puppetserver
Browse files Browse the repository at this point in the history
(MAINT) Install Puppet Server Task
  • Loading branch information
david22swan authored Oct 28, 2024
2 parents 041e52d + e418c53 commit 08e9187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tasks/install_puppetserver.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_puppetserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08e9187

Please sign in to comment.