Commit 350b2b0a authored by Marco Centurion's avatar Marco Centurion
Browse files

Corrijo comparación de versión

parent a752a163
......@@ -15,7 +15,7 @@ class php::repo::redhat (
default => '$releasever', # Yum var
}
if $facts['os']['release']['major'] >= 8 {
if versioncmp($facts['os']['release']['major'], '8') >= 0 {
yumrepo { 'remi-safe':
descr => 'Remi\'s RPM repository for Enterprise Linux 8 - $basearch - debuginfo',
mirrorlist => 'http://cdn.remirepo.net/enterprise/8/safe/$basearch/mirror',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment