Nothing Special   »   [go: up one dir, main page]

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

Not possible to unset default variables #174

Closed
LiohMoeller opened this issue Jan 26, 2022 · 1 comment
Closed

Not possible to unset default variables #174

LiohMoeller opened this issue Jan 26, 2022 · 1 comment

Comments

@LiohMoeller
Copy link

We are running into the following issue on a Debian 10.x Host with mariadb 10.3.32:
https://jira.mariadb.org/browse/MDEV-26834
Even if ssl is set to false, replication fails if the following variables are set:

ssl-ca = /etc/mysql/cacert.pem
ssl-cert = /etc/mysql/server-cert.pem
ssl-key = /etc/mysql/server-key.pem

So my question is if there is a way to unset those variables in some kind of form.
setting e.g. ssl-ca: '' does add a line with ssl-ca whithout value (as expected) and leads to a startup failure. It is not possible to set e.g. ssl-ca = false because it seems to interpret it as a file name/path.

@fraenki
Copy link
Member
fraenki commented Jun 27, 2022

Well, that's probably a more general question and the short answer is: no, it's not possible to completely remove pre-defined variables in this module. It should also be noted that the variables are added by puppetlabs/mysql, so it's beyond our control. I don't think there's an easy way to address this limitation.

It also looks like only MariaDB 10.3 is affected by this issue, newer/older versions seem to work. I'd say let's just document this as a known issue and move on. I don't know how to fix this issue. Sorry :-(

@fraenki fraenki changed the title unset default variables Not possible to unset default variables Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants