Skip to content

Commit 5e0a7da

Browse files
committed
(maint) Add Rocky and AlmaLinux support to the install agent task
Allows Puppet Agent to be installed on both Rocky Linux and AlmaLinux through the install.sh task.
1 parent 25274cc commit 5e0a7da

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tasks/install_shell.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,14 @@ if [ -f "$PT__installdir/facts/tasks/bash.sh" ]; then
194194
elif test "x$platform" = "xRedHat"; then
195195
platform="el"
196196

197+
# Handle Rocky
198+
elif test "x$platform" = "xRocky"; then
199+
platform="el"
200+
201+
# Handle AlmaLinux
202+
elif test "x$platform" = "xAlmalinux"; then
203+
platform="el"
204+
197205
# If facts task return "Linux" for platform, investigate.
198206
elif test "x$platform" = "xLinux"; then
199207
if test -f "/etc/SuSE-release"; then

0 commit comments

Comments
 (0)