Skip to content

Conversation

@Andrewich
Copy link
Contributor

Add repo_data parameter support to registration_command module

  • Added repo_data parameter as a list of dictionaries
  • Updated documentation with deprecation notices

Fixes #1938

repo:
description:
- Repository URL (yum/dnf) or full sources.list entry (apt).
- "Deprecated: Use the I(repo_data) option instead."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we note that it's deprecated since 3.11?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can just add a note to the description of the option: "This option was deprecated in version 3.11.0."
Is that okay?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd do "Forman 3.11" so people are not confused with the version of the Ansible collection, but otherwise yeah that's what I meant!

@Andrewich
Copy link
Contributor Author

Done. Added a note that the 'repo' and 'repo_gg_key_url' parameters have been deprecated since Foreman version 3.11

@evgeni evgeni merged commit 9c2a31c into theforeman:develop Dec 11, 2025
33 checks passed
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

Successfully merging this pull request may close these issues.

Add support for the 'repo_data' parameter in the 'registration_command' module

2 participants