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

Manage pulp repositories (pulp_repo provider) #179

Closed
joshuabaird opened this issue Dec 8, 2016 · 6 comments
Closed

Manage pulp repositories (pulp_repo provider) #179

joshuabaird opened this issue Dec 8, 2016 · 6 comments

Comments

@joshuabaird
Copy link
Member

The module should be able to manage Pulp repositories. The use-case here is that repositories (and sync schedules) are stored in Puppet and can be configured on multiple Pulp servers easily. This will likely require a new pulp_repo provider.

Other thoughts:

  • We should be able to define repos/schedules on 'master/parent' Pulp servers and then ensure these repositories are also defined on 'children' Pulp servers. On the children Pulp servers, the sync should occur from the 'master/parent' server and not from the original repository source (RedHat, etc).
@LadyNamedLaura
Copy link
Contributor

hey, i have some code for this (in our internal pulp profile) but it does need some cleanup, will look into cleaning it up or posting it somewhere so that other people can look at it.

types/providers i have (map ~ directly to the pulp api)

  • pulp_repo
  • pulp_importer
  • pulp_distributor
  • pulp_sync_schedule
  • pulp_user
  • pulp_permission

includes support for purging!

@joshuabaird
Copy link
Member Author

This would be great! Thanks, @SimonPe!

@ekohl
Copy link
Member

ekohl commented Apr 25, 2017

So what's the status here? We do have some specialised pulp_repo providers (RPM, ISO, Puppet). They are implemented using pulp-admin and not the API. I recall @timogoebel also wanting direct API usage.

@LadyNamedLaura
Copy link
Contributor

@ekohl sorry, I kind of lost track of this, I published my code at https://github.com/SimonPe/puppet-pulpapi as a kind of standalone module.
Ideally this would get integrated in this module, but as this is code we currently use internally, I wanted to avoid conflicting with anything in this module already.

I know there are still some minor bugs in there, and i might have fixed some of them in our intern repo already (i'd have to check).

I would have no problem if we look into cleaning it up in my repo before merging it here (or we could put it in a branch here, I don't really care). And I can certainly answer some questions on it. But i don't have a lot fo time to look at puppet code lately, so some help is wanted in getting it to production quality.

So if you care to take a look at the code and maybe create some issues on the repo if you have questions or see issues, I would be thankfull.

@cristifalcas
Copy link
Contributor

I could try to move the code to runcible, but there are no rpms for this now. Only for foreman scl.

@ekohl
Copy link
Member

ekohl commented Sep 12, 2017

Closing this in favor of #253

@ekohl ekohl closed this as completed Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants