Skip to content

Commit f234339

Browse files
committed
always include systemd module when $use_systemd is true
1 parent fcb310e commit f234339

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

manifests/default_mods.pp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
case $facts['os']['family'] {
1414
'RedHat': {
1515
::apache::mod { 'log_config': }
16-
if $facts['os']['name'] != 'Amazon' and $use_systemd {
17-
::apache::mod { 'systemd': }
18-
}
19-
if ($facts['os']['name'] == 'Amazon' and $facts['os']['release']['major'] =~ /^(2|2023)$/) {
16+
if $use_systemd {
2017
::apache::mod { 'systemd': }
2118
}
2219
::apache::mod { 'unixd': }

0 commit comments

Comments
 (0)