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

Backports class doesn't support sources format #1220

Open
thka2315 opened this issue Feb 7, 2025 · 0 comments
Open

Backports class doesn't support sources format #1220

thka2315 opened this issue Feb 7, 2025 · 0 comments

Comments

@thka2315
Copy link

thka2315 commented Feb 7, 2025

Describe the Bug

When loading backports class it always create the repo file in the old format and there is no way to change it.

Expected Behavior

Have an option to set sources_format to 'sources' and the repo file is created in the new sources format.

Steps to Reproduce

Steps to reproduce the behavior:

  1. include apt::backports

Environment

  • Version 10.0.1
  • Platform Ubuntu 20.04

Additional Context

My suggestion is to add "Enum['list', 'sources'] $source_format = 'list'," to backports.pp's parameters and
add "sources_format => $sources_format," to the apt::source call in the end of backports.pp.

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

1 participant