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

Consider using a different yum module #284

Open
juniorsysadmin opened this issue Dec 25, 2016 · 5 comments
Open

Consider using a different yum module #284

juniorsysadmin opened this issue Dec 25, 2016 · 5 comments
Labels

Comments

@juniorsysadmin
Copy link
Member

Perhaps the one in this namespace

@amette
Copy link
Contributor

amette commented Mar 15, 2017

I would highly appreciate that as well. I have many servers that run PHP as well as elastic (former elasticsearch). I can't configure those machines via puppet, because the example42-yum dependency in this module clashes with the puppet-yum one in the elastic/elasticsearch puppet module.

@amette
Copy link
Contributor

amette commented Mar 15, 2017

Having dug into the code a bit, it looks to me like the example42-yum could be removed and completely substituted by the yumrepo{} puppet resource, since adding a repository seems to be the only thing that example42-yum is being used for. Using the yumrepo resource seems cleaner (less deps, etc.). I sadly don't have any yum-based machine available for testing though.

@bluridium
Copy link

Agreed. The existing redhat.pp also hardcodes the remi56 repo so never allows you to install a different version.

I confirmed in a fork that yumrepo{} works fine and completely removes the dependence on example42-yum.

@danielsreichenbach
Copy link

Would highly agree with using https://forge.puppet.com/puppet/yum instead. example42-yum also introduces conflicts with many other modules expecting the yum module from voxpupuli.

@mbrodala
Copy link
Contributor

Same here, I even had to fork this repository to drop this dependency. We are on Ubuntu thus don't need YUM anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants