-
Notifications
You must be signed in to change notification settings - Fork 166
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 arch option to theforeman.foreman.repository module #1265
Comments
from the API doc (of 4.1): os_versions - Identifies whether the repository should be disabled on a client with a non-matching OS version. Pass [] to enable regardless of OS version. Maximum length 1; allowed tags are: rhel-6, rhel-7, rhel-8 also interesting: arch - Architecture of content in the repository |
Hello everyone, is there a timeline, when we can expect this new feature? Best regards |
@SimonLorentz as you asked so nicely, feel free to try #1282 ;-) |
@evgeni thanks, it seems to do nothing, no error, but also no action ^^ |
Which Katello version are you running, and what would you expect to happen once you set that option? |
That parameter is only present in the Katello 4.0+ API: https://projects.theforeman.org/issues/31615 You actually should have gotten a warning from Ansible, that the parameter is not supported by your server. Something like "The following parameters are not supported by your server when performing update on repository: arch. They were ignored." |
Ah okay yes I got it, my bad |
FWIW, I tried this against a Katello 4.1 installation, and it works exactly as you'd expect ;) |
SUMMARY
In Satellite GUI when we create product repository we can restrict that repository on specific OS version (rhel8, rhel7 ...) and architecture
It would be awesome if we could do same via theforeman.foreman.repository
ISSUE TYPE
The text was updated successfully, but these errors were encountered: