Skip to content

Commit

Permalink
Include systemd module for Amazon Linux 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
rjd1 committed Sep 3, 2024
1 parent 6d218cf commit fcb310e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/default_mods.pp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
if $facts['os']['name'] != 'Amazon' and $use_systemd {
::apache::mod { 'systemd': }
}
if ($facts['os']['name'] == 'Amazon' and $facts['os']['release']['full'] == '2') {
if ($facts['os']['name'] == 'Amazon' and $facts['os']['release']['major'] =~ /^(2|2023)$/) {
::apache::mod { 'systemd': }
}
::apache::mod { 'unixd': }
Expand Down

0 comments on commit fcb310e

Please sign in to comment.