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

Module does not allow the management on Amazon Linux #77

Closed
bdrust opened this issue Apr 10, 2018 · 6 comments
Closed

Module does not allow the management on Amazon Linux #77

bdrust opened this issue Apr 10, 2018 · 6 comments
Labels
bug Something isn't working

Comments

@bdrust
Copy link

bdrust commented Apr 10, 2018

When running on Amazon Linux the module only calls the yumrepo resource with the 'enabled' and 'gpgcheck' parameters. You are unable to configure anything else, is there a reason for this? I need to be able to set my baseurl, mirrorlist, and a few others on Amazon Linux instances.

@bramblek1
Copy link

Just discovered this also. The AWS documentation about EPEL on EC2 instances states that Amazon linux ships with EPEL repo description which is disabled by default. The intention of this puppetmodule seems to be just to enable it (which makes sense) - I'm just not sure that Yumrepo resource works that way.
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/

@bramblek1
Copy link

Seems to work if the epel.repo definition is already installed. Perhaps newer Amazon Linux hosts don't have this. IDK.

@bdrust
Copy link
Author

bdrust commented Apr 11, 2018

I use this module to configure the epel repo to point to an internal baseurl and it's works just fine. My issue is that I simply can't do the same configuration changes on Amazon. If the default behavior is just to enable the module on Amazon that's ok, I would just like the ability to override that default behavior. Maybe we add a switch/mechanism to allow this?

@stahnma
Copy link
Collaborator

stahnma commented Jul 16, 2018

I don't use much amazon linux. If there's a behavior change you desire, could you submit a PR?

@rnelson0
Copy link
Member

rnelson0 commented Feb 6, 2020

#95 should fix this behavior, @bdrust and @bramblek1 can you confirm this addresses your needs before we close the ticket?

@rnelson0
Copy link
Member

Closing this as some use cases may already be addressed, and #105 will add declared support (instead of best effort) but is dependent on external changes.

@rnelson0 rnelson0 added the bug Something isn't working label Feb 20, 2020
@alexjfisher alexjfisher changed the title module does not allow the management on Amazon Linux Module does not allow the management on Amazon Linux Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants