Skip to content

Conversation

tdb
Copy link

@tdb tdb commented Jan 18, 2016

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.

@daenney
Copy link

daenney commented Jan 19, 2016

I'd like to see a test case added to https://github.com/puppetlabs/puppetlabs-apt/blob/master/spec/defines/ppa_spec.rb that covers the + scenario.

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.
@tdb
Copy link
Author

tdb commented Jan 19, 2016

@daenney does that look ok?

@daenney
Copy link

daenney commented Jan 19, 2016

Works for me, thanks!

jonnytdevops added a commit that referenced this pull request Jan 19, 2016
Handle PPA names that contain a plus character.
@jonnytdevops jonnytdevops merged commit bf92497 into puppetlabs:master Jan 19, 2016
@tdb tdb deleted the fix_ppa_pluses branch January 19, 2016 16:13
@kenyon kenyon mentioned this pull request Feb 11, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants