Merge "CentOS: Use built-in resource to enable crb"

This commit is contained in:
Zuul 2024-06-03 17:35:25 +00:00 committed by Gerrit Code Review
commit 97c38a3801

View File

@ -79,10 +79,8 @@ class openstack_integration::repos {
$enable_sig = true $enable_sig = true
$enable_epel = false $enable_epel = false
exec { 'enable-crb': yumrepo { 'crb':
command => 'dnf config-manager --enable crb', enabled => true
path => '/usr/bin/',
unless => 'test 0 -ne $(dnf repolist --enabled crb | wc -l)'
} }
} }
default: { default: {