We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I don't know how far you want to take this, but I think you can even make the URL a parameter so it can be overridden
def yum_repository(product, organization, foremanapi, url='https://fixtures.pulpproject.org/rpm-no-comps/'): repo = foremanapi.create('repositories', {'name': str(uuid.uuid4()), 'product_id': product['id'], 'content_type': 'yum', 'url': url})
Originally posted by @ekohl in #43 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Originally posted by @ekohl in #43 (comment)
The text was updated successfully, but these errors were encountered: