Skip to content

Commit a4db0e1

Browse files
authored
Merge branch 'master' into hotfix/patching-history
2 parents 49f598d + 815c690 commit a4db0e1

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
All notable changes to this project will be documented in this file.
44

55
## Development
6+
* Added support for AlmaLinux. (Enhancement)
7+
8+
Contributed by Vadym Chepkov (@vchepkov)
69

710
* Fixing issue where the update history was not being reported
811
back on RHEL8 systems.

tasks/available_updates_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
55

66
case $OS_RELEASE in
77
################################################################################
8-
RHEL | CENTOS | FEDORA | ROCKY | OL)
8+
RHEL | CENTOS | FEDORA | ROCKY | OL | ALMALINUX)
99
# RedHat variant
1010
source "${PT__installdir}/patching/files/bash/available_updates_rh.sh"
1111
;;

tasks/cache_remove_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
55

66
case $OS_RELEASE in
77
################################################################################
8-
RHEL | CENTOS | FEDORA | ROCKY)
8+
RHEL | CENTOS | FEDORA | ROCKY | OL | ALMALINUX)
99
# RedHat variant
1010
# clean yum cache
1111
OUTPUT=$(yum clean all 2>&1)

tasks/cache_update_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ source "${PT__installdir}/patching/files/bash/os_test.sh"
1111

1212
case $OS_RELEASE in
1313
################################################################################
14-
RHEL | CENTOS | FEDORA | ROCKY | OL)
14+
RHEL | CENTOS | FEDORA | ROCKY | OL | ALMALINUX)
1515
# RedHat variant
1616
# update yum cache
1717
OUTPUT=$(yum clean expire-cache 2>&1)

tasks/reboot_required_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export REBOOT_REQUIRED="false"
88

99
case $OS_RELEASE in
1010
################################################################################
11-
RHEL | CENTOS | FEDORA | ROCKY | OL)
11+
RHEL | CENTOS | FEDORA | ROCKY | OL | ALMALINUX)
1212
# RedHat variant
1313
source "${PT__installdir}/patching/files/bash/reboot_required_rh.sh"
1414
;;

tasks/update_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ STATUS=0
2424

2525
case $OS_RELEASE in
2626
################################################################################
27-
RHEL | CENTOS | FEDORA | ROCKY | OL)
27+
RHEL | CENTOS | FEDORA | ROCKY | OL | ALMALINUX)
2828
# RedHat variant
2929
source "${PT__installdir}/patching/files/bash/update_rh.sh"
3030
STATUS=$?

0 commit comments

Comments
 (0)