add switching ability for EPEL
This commit is contained in:
@@ -11,11 +11,11 @@ class resources_cd::params (
|
|||||||
Array $reqpackages = $facts['os']['name'] ? {
|
Array $reqpackages = $facts['os']['name'] ? {
|
||||||
'Rocky' => ['yum', 'yum-utils'],
|
'Rocky' => ['yum', 'yum-utils'],
|
||||||
},
|
},
|
||||||
String $pkg_ensure = 'present',
|
String $pkg_ensure = 'present',
|
||||||
String $rs_enable_epel = '1',
|
String $rs_enable_epel = '1',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$epel_from_url = 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'
|
$epel_from_url = 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'
|
||||||
# includes must be last
|
# includes must be last
|
||||||
include resources_cd::main::config
|
include resources_cd::main::config
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user