Skip to content

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

Merged
truthbk merged 2 commits intomasterfrom
jaime/oldpuppetfix
Dec 12, 2017
Merged

[apt] Only grep for last 8 characters as this is what apt-key list returns#374
truthbk merged 2 commits intomasterfrom
jaime/oldpuppetfix

Conversation

@truthbk
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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