-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong repository name on RedHat #148
Comments
What version of RHEL are you running? My experience with RHEL recently suggests that this repo has been renamed in later versions of the OS? Do you know if that's the case? |
The repo name may be correct if you've manually specified it in your yum.conf, but the RHSM delivered name for the extras repo is
It seems that |
You can try this. |
@nikdoof thanks for clarifying that. I'm assuming you also have this issue, but are manually working around it at this point? I'm just canvassing for community feedback because I'm surprised this hasn't been brought up more in the past. I can't see any issues in the garethr module that we forked that relates to this. |
@davejrt Yes I guess people are working around the issue, if you're using a local Satellite/Katello instance, mirror or just the CentOS7 repos I guess its not an issue as you're expecting the extras repository to be named something different, but if you're direct feeding off the RHCDN then the repo name is different. Ideally it should be using the out of the box config for RHEL Here are similar issues reported: #1, #2, #3. TL;DR: The garethr version solution was to add repo_opt in the first place, rather than correct the default repo name for RHEL7 to the RHSM ID. Now that i've got some free time i'll actually submit a PR for this :) |
I get in the output of puppet agent -t:
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y --enablerepo=rhel7-extras install docker-ce' returned 1: Error getting repository data for rhel7-extras, repository not found
Adding
repo_opt => '--enablerepo=rhel-7-server-extras-rpms'
saves the run.
The text was updated successfully, but these errors were encountered: