You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CentOS 8 stream doesn't have a minor version so this check likely fails.
However, it's irrelevant here and we can use the major release version
fact instead.
There are a lot more odd cases with facts, but I don't want to touch too
much code.
Copy file name to clipboardExpand all lines: manifests/params.pp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -819,7 +819,7 @@
819
819
$verify_command = '/usr/sbin/apachectl -t'
820
820
}
821
821
822
-
if$::osfamily == 'RedHat' and versioncmp($::operatingsystemrelease, '8.0') >= 0 {
822
+
if$::osfamily == 'RedHat' and versioncmp($facts['operatingsystemmajrelease'], '8') >= 0 {
823
823
$ssl_protocol = ['all'] # Implementations of the SSLv2 and SSLv3 protocol versions have been removed from OpenSSL (and hence mod_ssl) because these are no longer considered secure. For additional documentation https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/setting-apache-web-server_deploying-different-types-of-servers
0 commit comments