Skip to content
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

Changes RedHat repo to use the EPEL module #603

Merged
merged 1 commit into from
Feb 12, 2017

Conversation

petems
Copy link
Member

@petems petems commented Dec 19, 2016

Installing the RPM is clunky and 99% of people use the EPEL module

@zachfi
Copy link
Contributor

zachfi commented Dec 20, 2016

+1

@juniorsysadmin
Copy link
Member

juniorsysadmin commented Jan 1, 2017

@petems I know this is simply following the pattern, but this is a soft dependency, no?

Copy link

@vinzent vinzent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a good move to use logic of the existing epel module.

It could be considered as a breaking change because it introduces a new dependeny and it may leave unmanaged yumrepos config behind.

@juniorsysadmin
Copy link
Member

I don't like the use of require. Can we avoid it?
Perhaps also consider $repo_class as a variable

@vinzent
Copy link

vinzent commented Jan 18, 2017 via email

@petems
Copy link
Member Author

petems commented Jan 18, 2017

I was trying to match the original behaviour as much as possible, which is to default to have the upstream class enabled.

@bastelfreak
Copy link
Member

@petems can you rebase? Then rubocop should be happy again.

@petems
Copy link
Member Author

petems commented Feb 12, 2017

@bastelfreak Done! 👍

@bastelfreak
Copy link
Member

bastelfreak commented Feb 12, 2017

hrm damn, the recently merged cuda plugin uses the yum module as well.

https://travis-ci.org/voxpupuli/puppet-collectd/jobs/200865588#L3647-L3654

* Yum::Install to install the RPM is a bit more flakey 
* EPEL module is pretty ubiquitous, not that big of a deal to add it
@petems
Copy link
Member Author

petems commented Feb 12, 2017

@bastelfreak Ah, fixed.

That's repeated code that could probably be DRY-ed up, but I'll leave that to a seperate PR! 👍

@bastelfreak bastelfreak merged commit 479f40a into voxpupuli:master Feb 12, 2017
@bastelfreak
Copy link
Member

thanks!

@bastelfreak bastelfreak added the enhancement New feature or request label Feb 12, 2017
@petems petems deleted the change_to_epel_module branch February 12, 2017 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants