Handle PPA names that contain a plus character.
authorTim Bishop <tim@bishnet.net>
Mon, 18 Jan 2016 21:47:32 +0000 (21:47 +0000)
committerTim Bishop <tim@bishnet.net>
Tue, 19 Jan 2016 10:38:47 +0000 (10:38 +0000)
commit7fa207e335d165b1ec55339735db12a54d95902d
tree3ceb3f78891eeab4659586e2b538d5dd394105a8
parent7aa9778e4d418943592f80a76e9978ebc3d084e3
Handle PPA names that contain a plus character.

It looks like add-apt-repository changes pluses to underscores when
creating the sources.list.d file. So the name it creates doesn't match
what Puppet expects, and the resource keeps applying on every Puppet
run.

This works around that problem.
manifests/ppa.pp
spec/defines/ppa_spec.rb