Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxysql 2.1 and 2.3 support #181

Merged
merged 3 commits into from
Apr 28, 2022

Conversation

jadestorm
Copy link
Contributor

Pull Request (PR) description

This PR adds very simple support for newer ProxySQL versions. In my case I'm using 2.3 but I added the ones in between. One big caveat is that I removed the cleanup of old versions in the process. Frankly.. because it was going to be incredibly ugly code to clean up. That said if you feel strongly about that, I can add it back.

It also adjusts the accepted regex patterns because stuff like: ^.*$ was not working because it had no word characters.

@jadestorm
Copy link
Contributor Author

mmm ... looks like I broke the testing that was expecting to see the purging of the old versions. So -- please let me know which path you would like me to take: A. remove the cleanup of old versions like I've done (but I'll go back and fix the tests) or B. add back the cleanup of other versions and also adjust the tests accordingly. I'm fine with either but wanted to ask first.

@jadestorm
Copy link
Contributor Author

You know what -- after sleeping on it, it would be easy to put back that old version purge. I'll do that -- please don't accept this as is. =)

@jadestorm
Copy link
Contributor Author

There we go. If you're cool with it, ready for merging from my end.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be good if there was some acceptance test for this so we actually know it works, but this looks reasonable to me.

@ekohl ekohl merged commit fba3231 into voxpupuli:master Apr 28, 2022
@ekohl ekohl changed the title Newer proxysql support proxysql 2.1 and 2.3 support Apr 28, 2022
cegeka-jenkins pushed a commit to cegeka/puppet-proxysql that referenced this pull request Aug 22, 2023
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.

3 participants