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

Missing DEB822 .sources file support for apt::ppa #1189

Closed
logansymons opened this issue Jun 11, 2024 · 1 comment
Closed

Missing DEB822 .sources file support for apt::ppa #1189

logansymons opened this issue Jun 11, 2024 · 1 comment

Comments

@logansymons
Copy link

Use Case

On Ubuntu 24.04, using apt::ppa, PPA .sources entries will be recreated in /etc/apt/sources.list.d on every Puppet run.
This is due to apt::ppa not having awareness of .sources files. The current situation is roughly as follows:

  1. apt::ppa looks to the apt_sources fact for the relevant .list file of the PPA and doesn't find it
  2. apt::ppa calls add-apt-repository to add the PPA, which is added as a .sources file
  3. Go back to 1. for following Puppet run

Describe the Solution You Would Like

  1. The apt_sources fact would need to recognise .sources files, not just .list files
  2. apt::ppa would need to recognise .sources entries from the apt_sources fact as evidence of a PPA already being added

Describe Alternatives You've Considered

Letting .sources entries be recreated on every Puppet run is still a workable option in the meantime.

@logansymons logansymons changed the title DEB822 .sources file support for apt::ppa Missing DEB822 .sources file support for apt::ppa Jun 11, 2024
@logansymons
Copy link
Author

Taken care of in #1169

Closing.

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

2 participants