-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Conversation
manifests/init.pp
Outdated
@@ -182,6 +207,7 @@ | |||
-> class { '::proxysql::config':} | |||
-> class { '::proxysql::service':} | |||
-> class { '::proxysql::admin_credentials':} | |||
-> class { '::proxysql::configure':} |
There was a problem hiding this comment.
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 ::
Wow, what a massive amout of work, thanks for this! As in the other PRs, please check the used email address. |
fe7c242
to
08c8583
Compare
Email updated, review notes applied |
@MaxFedotov can you rebase on the current master? |
bb9d094
to
05fdad6
Compare
done |
let's continue with this now, of course on every PR we merge, another rebase will be required... |
05fdad6
to
95c9d1d
Compare
done |
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