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

Support to add resource via class parameters. Add manage_hostgroup_fo… #62

Merged
merged 5 commits into from
Sep 3, 2018

Conversation

MaxFedotov
Copy link
Contributor

@MaxFedotov MaxFedotov commented Aug 23, 2018

Add ability to configure resources through class parameters using variables ($mysql_servers, $mysql_users, $mysql_hostgroups, $mysql_rules, $schedulers)
New param manage_hostgroup_for_servers. This defines which provider will be called from mysql_servers. If true - default (proxy_mysql_server). If false - proxy_mysql_server_no_hostgroup, which don't look on hostgroup field of mysql_server. It is needed in order to allow configuration of this parameter by some external service - consul, script, etc. This can close #38

@@ -182,6 +207,7 @@
-> class { '::proxysql::config':}
-> class { '::proxysql::service':}
-> class { '::proxysql::admin_credentials':}
-> class { '::proxysql::configure':}
Copy link
Member

Choose a reason for hiding this comment

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

please do not add the leading ::

@bastelfreak bastelfreak added the enhancement New feature or request label Aug 31, 2018
@bastelfreak
Copy link
Member

Wow, what a massive amout of work, thanks for this! As in the other PRs, please check the used email address.

@MaxFedotov
Copy link
Contributor Author

MaxFedotov commented Sep 1, 2018

Email updated, review notes applied

README.markdown Outdated Show resolved Hide resolved
@mcrauwel
Copy link
Member

mcrauwel commented Sep 2, 2018

@MaxFedotov can you rebase on the current master?

@MaxFedotov
Copy link
Contributor Author

done

@mcrauwel
Copy link
Member

mcrauwel commented Sep 3, 2018

let's continue with this now, of course on every PR we merge, another rebase will be required...

@MaxFedotov
Copy link
Contributor Author

done

@mcrauwel mcrauwel merged commit b8f18a8 into voxpupuli:master Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New versions of proxysql
3 participants