puppetlabs / puppetlabs-apt

Puppet module to help manage Apt
https://forge.puppetlabs.com/puppetlabs/apt
Apache License 2.0
215 stars 462 forks source link

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

Closed maxadamo closed 1 year ago

maxadamo commented 1 year ago

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

Additional Context

N/A

kenyon commented 1 year ago

Duplicate of #1064.

maxadamo commented 1 year ago

solved by #1069