Skip to content

Fix condition for adding gpg key to work with all gpg versions#701

Merged
bkabrda merged 1 commit intomasterfrom
slavek.kabrda/fix-gpg-unless-condition
May 20, 2021
Merged

Fix condition for adding gpg key to work with all gpg versions#701
bkabrda merged 1 commit intomasterfrom
slavek.kabrda/fix-gpg-unless-condition

Conversation

@bkabrda
Copy link
Copy Markdown

@bkabrda bkabrda commented May 19, 2021

What does this PR do?

As found during review of DataDog/datadog-formula#68, the condition to check presence of a gpg key used doesn't work on certain versions of gpg. This fixes the condition to work correctly (tested on a range of versions from gpg 1.4 to gpg 2.2).

Motivation

Additional Notes

Describe your test plan

@bkabrda bkabrda requested a review from a team as a code owner May 19, 2021 09:30
@bkabrda bkabrda merged commit fe5861b into master May 20, 2021
@bkabrda bkabrda deleted the slavek.kabrda/fix-gpg-unless-condition branch May 20, 2021 08:33
cegeka-jenkins pushed a commit to cegeka/puppet-datadog_agent that referenced this pull request Feb 5, 2026
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