engineyard / ey-cookbooks-stable-v7

Other
6 stars 5 forks source link

eydr recipe can't download qpress #212

Open dvalfre opened 1 year ago

dvalfre commented 1 year ago

This issue was reported on previous versions of EYC. Needs to be properly validate for v7.

The failure when running the recipe is when downloading the 'qpress' package. The URL is defined here

:qpress_download_url => "http://www.quicklz.com/qpress-11-linux-x64.tar"

Said URL is no longer valid. But turns out that Percona makes available this utility from one of their repos. And on v7 all packages related to MySQL are downloaded from Percona's repos.

Now, because the recipe was designed for EYC v5 and said stack is not based on Ubuntu, then the recipes download a generic version, untar it, an install. That code is present here and should be rewritten to use the apt_package functionality provided by Chef.