Percona apt repo with Key – Ubuntu

Using Puppet for configuration management is great. So is using the high performance Percona DB. Ditto for Ubuntu 18.04 LTS Bionic. The issue arises when you are combining them and realize that all of the modules and easily located online resources use the old and deprecated short key, you can read more here:

You can read in the comments that some people asked for the current key… but didn’t get it. I found using the installable .deb file that Percona provides to be a PITA with using the PuppetLabs Apt module:

This should work fine with other flavors of Ubuntu like 16.04 and you can also use it to get a repo installed for xtrabackup (make sure you use apt to get xtrabackup24 otherwise you’ll get the very aged version from Ubuntu sources).