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

repositories added with apt::ppa are purged by apt #1070

Closed
maxadamo opened this issue Nov 5, 2022 · 2 comments
Closed

repositories added with apt::ppa are purged by apt #1070

maxadamo opened this issue Nov 5, 2022 · 2 comments

Comments

@maxadamo
Copy link

maxadamo commented Nov 5, 2022

Describe the Bug

I have set these options:

class { 'apt':
  purge  => {
    'sources.list'   => true,
    'sources.list.d' => true,
  }
}

then I add:

apt::ppa { 'ppa:deadsnakes/ppa': }

the repo name is taken here: deadsnakes-ppa

and every time Puppet runs the repo is added and then it's removed, again and again.

Expected Behavior

it should not purge the repository added through apt::ppa

Steps to Reproduce

see above

Environment

  • puppetlabs/apt version: 9.0.0
  • puppet agent and server version: 7.xx
  • Platform: Ubuntu 20.04

Additional Context

N/A

@maxadamo maxadamo changed the title repositories added with apt::ppa are purges by apt repositories added with apt::ppa are purged by apt Nov 5, 2022
@kenyon
Copy link

kenyon commented Nov 5, 2022

Duplicate of #1064.

@maxadamo
Copy link
Author

solved by #1069

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