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
Add pulp_repo module for interacting with repositories on a pulp server. #18898
Conversation
My apologies @Nebelwolf @Nosmoht @dvanallen @jtyr. Seems that I had to move my PR to this repo as the modules have been merged back into core. If you could comment on this PR instead, I would appreciate it. @jtyr I have updated my module after your most recent feedback. |
I've tested with the same code as here.
Tested to:
All steps working fine. Module documentation looks good. Source code looks good too. shipit |
I tested it with creating and updating repos. shipit ⛵ |
@sysadmind You probably need to rebase your branch against the current devel branch to allow this to be merged. |
Thanks for the heads up @jtyr. These changes should be in line with upstream now. |
@bcoca I'm not sure why this is marked as needs_rebase. I rebased after all of the forced updates and this is a clean PR on top of current devel with a single commit. |
Merged to devel. Thanks ! |
ISSUE TYPE
COMPONENT NAME
pulp_repo
ANSIBLE VERSION
SUMMARY
This adds a module for working with pulp repos. http://www.pulpproject.org/. I added this under packaging/os because it seemed like the most relevant location for this module although it is not explicitly an os packaging module like others in this directory.
I created a class that lines up with a pulp server and added methods for getting and setting repo properties. I chose this design because it closely resembles the actual design of pulp and keeps the code logically separated into small methods.
This is a migration from ansible/ansible-modules-extras#1961