|
37 | 37 | if $all { |
38 | 38 | case $::osfamily { |
39 | 39 | 'debian': { |
| 40 | + include ::apache::mod::authn_core |
40 | 41 | include ::apache::mod::reqtimeout |
41 | | - if versioncmp($apache_version, '2.4') >= 0 { |
42 | | - ::apache::mod { 'authn_core': } |
43 | | - } |
44 | 42 | } |
45 | 43 | 'redhat': { |
46 | 44 | include ::apache::mod::actions |
| 45 | + include ::apache::mod::authn_core |
47 | 46 | include ::apache::mod::cache |
48 | 47 | include ::apache::mod::mime |
49 | 48 | include ::apache::mod::mime_magic |
|
64 | 63 | ::apache::mod { 'substitute': } |
65 | 64 | ::apache::mod { 'usertrack': } |
66 | 65 |
|
67 | | - if versioncmp($apache_version, '2.4') >= 0 { |
68 | | - ::apache::mod { 'authn_core': } |
69 | | - } |
70 | | - else { |
| 66 | + if versioncmp($apache_version, '2.4') < 0 { |
71 | 67 | ::apache::mod { 'authn_alias': } |
72 | 68 | ::apache::mod { 'authn_default': } |
73 | 69 | } |
74 | 70 | } |
75 | 71 | 'freebsd': { |
76 | 72 | include ::apache::mod::actions |
| 73 | + include ::apache::mod::authn_core |
77 | 74 | include ::apache::mod::cache |
78 | 75 | include ::apache::mod::disk_cache |
79 | 76 | include ::apache::mod::headers |
|
91 | 88 | ::apache::mod { 'auth_digest': } |
92 | 89 | ::apache::mod { 'auth_form': } |
93 | 90 | ::apache::mod { 'authn_anon': } |
94 | | - ::apache::mod { 'authn_core': } |
95 | 91 | ::apache::mod { 'authn_dbm': } |
96 | 92 | ::apache::mod { 'authn_socache': } |
97 | 93 | ::apache::mod { 'authz_dbd': } |
|
0 commit comments