Skip to content

Commit ac8398b

Browse files
Update manifests/package/redhat.pp
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
1 parent e5651cb commit ac8398b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/package/redhat.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
}
9696
}
9797

98-
if $dnfmodule and fact('os.name') in ['RedHat', 'CentOS', 'VirtuozzoLinux'] and versioncmp(fact('os.release.full'), '8.0') >= 0 {
98+
if $dnfmodule and fact('os.name') in ['RedHat', 'CentOS', 'VirtuozzoLinux'] and versioncmp(fact('os.release.major'), '8') >= 0 {
9999
package { "nginx:${dnfmodule}":
100100
ensure => present,
101101
before => Package['nginx'],

0 commit comments

Comments
 (0)