Skip to content

Commit fcb310e

Browse files
committed
Include systemd module for Amazon Linux 2023
1 parent 6d218cf commit fcb310e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/default_mods.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
if $facts['os']['name'] != 'Amazon' and $use_systemd {
1717
::apache::mod { 'systemd': }
1818
}
19-
if ($facts['os']['name'] == 'Amazon' and $facts['os']['release']['full'] == '2') {
19+
if ($facts['os']['name'] == 'Amazon' and $facts['os']['release']['major'] =~ /^(2|2023)$/) {
2020
::apache::mod { 'systemd': }
2121
}
2222
::apache::mod { 'unixd': }

0 commit comments

Comments
 (0)