Add support for 3.0.x repo#247
Conversation
|
@Arakmar thanks for the PR! Can you add some tests for it that use the new repo? |
|
@Arakmar ping :) |
1f16aed to
ca3cc73
Compare
During upgrade test, checking the admin socket file presence is not enough. We need to wait it's really ready to accept connections. The exec is splitted between the two cases : - Initial run and no .my.cnf file, we build the full mysql cmd - .my.cnf already exists, we use it
|
I added one acceptance test about the migration to 3.x. Also, there are no 3.x packages for Debian 11 and Redhat 8 in the proxysql repo. |
SC-specific changes: - Use .my.proxysql.cnf instead of .my.cnf to avoid conflicts with MySQL on hosts running both MySQL and ProxySQL - Remove Sensitive[String] password types and .unwrap calls for compatibility with existing Hiera data and Puppet 7 setups Upstream PR voxpupuli#247 (not yet merged): - Add ProxySQL 3.0.x repository support for APT and YUM - Improve admin socket readiness check: use actual mysql SELECT 1 query instead of just testing socket file existence - Handle first-run (no .my.cnf) vs subsequent runs (with .my.cnf) Document all SC customizations in README.
@Arakmar it's from |
Support for 3.0.x added for apt and yum repo
The default has been kept to 2.7.x for now