Skip to content

Commit e960440

Browse files
committed
fix: ci/cfengine-build-host-setup.cf adjusted to not install epel-release-latest rpm on centos-6 platforms
Ticket: ENT-13763 Changelog: none
1 parent ab517e4 commit e960440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ci/cfengine-build-host-setup.cf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ bundle agent cfengine_build_host_setup
253253
(redhat_8|centos_8).!have_fakeroot:: # special fakeroot, missing from _8 an d up?
254254
"sudo rpm -iv https://kojipkgs.fedoraproject.org//packages/fakeroot/1.23/1.fc29/x86_64/fakeroot-1.23-1.fc29.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/fakeroot/1.23/1.fc29/x86_64/fakeroot-libs-1.23-1.fc29.x86_64.rpm"
255255
contain => in_shell;
256-
(redhat|centos).!(redhat_7|centos_7).!epel_release_ok::
256+
(redhat|centos).!(redhat_7|centos_7).!(redhat_6|centos_6).!epel_release_ok::
257257
"yum install --assumeyes https://dl.fedoraproject.org/pub/epel/epel-release-latest-${sys.os_version_major}.noarch.rpm"
258258
comment => "rhel-7 installs this with a packages promise. TODO: check a sha for the download URL somehow?",
259259
classes => results( "bundle", "epel_release" ),

0 commit comments

Comments
 (0)