-
-
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
Few modification to puppet-proxysql module #57
Conversation
@MaxFedotov Thank you for contributing! These look great. Do you think it would be possible to break these up into separate PR's? We like to make PR's in the smallest possible related units, that way we can review and accept code that is ready without holding up features that aren't. It's also useful if we need to revert a PR for some reason. Having a PR for each feature means we can target things better when it comes to maintaining this. We'd also need to see unit tests in these PR's. |
lol, you were literally adding the unit tests as I was leaving a comment about this. |
Yep :) Sorry for such a lot of commits, I will squash them in one after tests will pass |
update docs fix typo in readme fix linting for ruby2.4 fix linting fix for spec tests fix for spec tests
It's not the amount of commits that I'm worried about, it's the number of changes that aren't explicitly dependent upon each other. As far as I can tell, this single PR should really be split into about 4 - 6 PR's. |
Ok, i will think about splitting it into more granular parts and make individual PRs for each set of changes |
Let's then close this PR and i will make more smaller ones |
I agree with @LongLiveCHIEF I see a lot of very good work in the large chunk of changes but I also have some questions here and there. Smaller PR's would be a good idea to resolve these issues... |
Per our conversation, closing this huge PR, will be replaced by smaller PR's |
Hello,
I want to introduce a few changes i've added to your module as a PR.
proxysql_cluster
resources with params,it will get from it. Also added$cluster_username
and$cluster_password
variables$proxysql::manage_config_file
variable. Now config files will be always created by puppet, and$proxysql::manage_main_config_file
`$proxysql::manage_proxy_config_file` will define 'replace' setting of file resourcepackage_source
toundef
by default$admin_users
param. It's array with Linux users, for which we will copy.my.cnf
file in their home directorymanage_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 parameters by some external service - consul, script, etc. This can close New versions of proxysql #38$mysql_servers
,$mysql_users
,$mysql_hostgroups
,$mysql_rules
,$schedulers
)