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

[apt] Only grep for last 8 characters as this is what apt-key list returns #374

Merged
merged 2 commits into from
Dec 12, 2017

Conversation

truthbk
Copy link
Member

@truthbk truthbk commented Dec 11, 2017

Supersedes #373 - we have to resort to something that will work on older puppets.

Big thanks to @szponek for bringing this up and his more elegant original fix, unfortunately we have to stay backward compatible, so had to resort to this.

@truthbk
Copy link
Member Author

truthbk commented Dec 12, 2017

@szponek mind to give this a look before I merge? Tried it on puppet 5/4, and ran the older puppet spec suite successfully.

@truthbk truthbk added this to the 1.12.0 milestone Dec 12, 2017
@truthbk truthbk merged commit 2351697 into master Dec 12, 2017
@truthbk truthbk deleted the jaime/oldpuppetfix branch December 12, 2017 11:40
@szponek
Copy link

szponek commented Dec 13, 2017

My appologies @truthbk for being a bit late to the party, but yeah, that works fine for me.

cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Jan 31, 2018
…turns (DataDog#374)

* Only grep for last 8 characters as this is what apt-key list returns

* [ubuntu] fix key substring extraction-interpolation

[key] get last eight characters with regex subst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants