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

Handle PPA names that contain a plus character. #583

Merged
merged 1 commit into from
Jan 19, 2016

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
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