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

repos are mandatory, though they should not be #1132

Closed
XSpielinbox opened this issue Sep 24, 2023 · 1 comment
Closed

repos are mandatory, though they should not be #1132

XSpielinbox opened this issue Sep 24, 2023 · 1 comment

Comments

@XSpielinbox
Copy link

XSpielinbox commented Sep 24, 2023

Describe the Bug

When looking at source.pp one can see that if one leaves out the repos definition or specifies undef, instead of not adding a component to the sources entry, main is added, resulting in problems when combined with and absolute suite. When I don't specify a repos (so a component), there shall not be a component. At least there should be an option to end the source definition after the release (so the distribution).

Expected Behavior

An apt source may only have a distribution (release in puppet) of / that is not followed by anything except a newline and I am able to easily replicate that with Puppet.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Try to add a source with [...] <url (location)> /

Environment

  • Version 9.0.2
  • Platform tested on Ubuntu 20.04 (should be the same on all other version of Ubuntu and Debian)

Additional Context

There is a workaround when specifying a repos of '', though that does not work in all cases. see #1133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants