add switching ability for EPEL

This commit is contained in:
Arne Teuke
2025-09-16 11:48:58 +02:00
parent 32e300b862
commit 271e54d2bf
3 changed files with 9 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
# @summary Class contains all parameters for the resources_cd module.
# @param [Array] reqpackages which packages to install
# @param [String] pkg_ensure version to install, 'present', 'latest', 'v1.0'
# @param [Boolean] rs_enable_epel whether to enable epel
# @param [String] rs_enable_epel whether to enable epel
##############################################################################
class resources_cd::params (
@@ -12,7 +12,7 @@ class resources_cd::params (
'Rocky' => ['yum', 'yum-utils'],
},
String $pkg_ensure = 'present',
Boolean $rs_enable_epel = false,
String $rs_enable_epel = '1',
) {
$epel_from_url = 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'