Look for correct sources.list.d file for apt::ppa
authorPhilipp Wagner <philipp.wagner@tum.de>
Wed, 3 Feb 2016 16:13:46 +0000 (17:13 +0100)
committerPhilipp Wagner <philipp.wagner@tum.de>
Wed, 3 Feb 2016 16:24:06 +0000 (17:24 +0100)
commita02654e36ca0cec2fa8360d0f52d34801df9229a
tree24f618ec2d960b05ce5a4d36d58d6c0adf9cfab6
parent4d66d23becb51efd0eb0766352ce5f53dfacd7ba
Look for correct sources.list.d file for apt::ppa

In Ubuntu 15.10 the path of the apt sources file, which is generated by
apt-add-repository, changed to include the distid. This breaks apt::ppa
idempotency, since it does not recognize the repository is already
added.

Reported on puppet-users as well:
https://groups.google.com/forum/#!topic/puppet-users/YzeMyZYUo98
manifests/ppa.pp
spec/classes/apt_spec.rb
spec/defines/ppa_spec.rb