Skip to content

Commit

Permalink
always include systemd module when $use_systemd is true
Browse files Browse the repository at this point in the history
  • Loading branch information
rjd1 committed Sep 5, 2024
1 parent fcb310e commit f234339
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions manifests/default_mods.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
case $facts['os']['family'] {
'RedHat': {
::apache::mod { 'log_config': }
if $facts['os']['name'] != 'Amazon' and $use_systemd {
::apache::mod { 'systemd': }
}
if ($facts['os']['name'] == 'Amazon' and $facts['os']['release']['major'] =~ /^(2|2023)$/) {
if $use_systemd {
::apache::mod { 'systemd': }
}
::apache::mod { 'unixd': }
Expand Down

0 comments on commit f234339

Please sign in to comment.