puppetlabs / puppetlabs-mysql

MySQL Puppet Module / Manifests + Types & Providers
Apache License 2.0
380 stars 792 forks source link

[14.0.0] unable set log to journal #1571

Open tuxmaster5000 opened 1 year ago

tuxmaster5000 commented 1 year ago

To let MariaDB log into journal. the log_error must set to an empty value, but this is currently not possible.

tuxmaster5000 commented 1 year ago

The problem is, that the difference between MySQL and MariaDB are not respected. For MariaDB the log-err will be 'mariadb' => { 'log-err' => foo } but in the module 'mysql' => is hard coded, so an ugly override of mysql must be done. But for the future it looks like, all mysql references are removed by MariaDB. So an switch will be nice, which can switch between the MySQL and MariaDB syntax.

tuxmaster5000 commented 1 year ago

After playing some times more, the next problem is, that the options log-error and pid-file can't be removed. But both must be complete removed from the config for using systemd and journald.