-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
added CentOS 8 default repos #191
Conversation
Those test failures look 'expected' because of the changes |
@bastelfreak is it worth me updating the test to make this pass i.e. would it be mergeable if I did? |
this looks good to me, but I'm not a RHEL expert. Will leave it open for a few days in case anybody else wants to review it. |
Just to throw my 2 cents in =) this looks good to me. I'm going to be testing it shortly and will report back. |
A few things, after doing a puppet agent -t the
--- base.repo 2020-09-23 13:48:13.117303094 +0200
+++ base.repo.right 2020-09-23 13:47:47.513623632 +0200
@@ -1,6 +1,6 @@
[base]
name=CentOS-$releasever - Base
-mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
+mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=BaseOs&infra=$infra
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-8 This wrong repo= stems from:
|
@hboetes Odd -- I'm not running into that issue unless it was updated after you posted this. |
Is that perhaps because you use hiera instead of puppet code? This is the puppet code that I use, which worked fine for Centos 6 and 7: class { 'yum':
keep_kernel_devel => false,
clean_old_kernels => true,
managed_repos => ['base','updates','epel'],
} |
That may very well be it! I am using this in hiera:
Also note I'm not testing CentOS 6 or 7, just 8. With that said -- it's working exactly as I expect! My only feedback is that centosplus seems to be missing (i only see the source one) and that some of the capitalization and names seem inconsistent with their upstream names. (extras vs Extras, stuff like that -- but not a big deal) |
I will have another look at it tonight or tomorrow, thanks for the feedback |
@dave93cab ping |
should we point the CentOS 6 repos @ their vault? |
I did look at this and refactored it a bit, though I think it was working ok before. I couldn't remember how I had it set up to run tests locally. Not sure what that Debian test failure is. Maybe someone else can finish this off, any volunteers? |
I also ran into those fact issues @ #195 (review). I'm certain they are due to differences in Facter 2/3 and Facter 4. |
what needs to be done to unblock this, this is a very old PR and still an issue, I've forked this repo to get around this in my environment. Please let me know |
@oniGino it needs to be rebased because there are merge conflicts. |
Pull Request (PR) description
Add CentOS 8 default Repos
This Pull Request (PR) fixes the following issues
Fixes #176