Closed jsfrerot closed 2 years ago
This should be fixed in the MySQL module. As such, I do not see an immediate need to add it to this package.
The mysql modules allows it. The problem lies in the pdns module in file backends/mysql.pp. Which doesn't allow the charset/collate parameters to be passed to the mysql module.
That's not what I meant. The MySQL module should use the new default as standard. Not us.
I don't really see why we should support alternatives in this module.
If you need it, I would suggest to manage MySQL yourself and opt out of what this module does.
with mariadb 10.6.1, the utf8 charset is an alias for utf8mb3 (https://mariadb.com/kb/en/supported-character-sets-and-collations/#changes). When managing the DB with powerdns module, it tries to change it at every run using the default values comming from mysql module.
Would it be possible to allow passing the charset/collate parameters to prevent puppet from trying to import the DB at every puppet run ?
file: backends/mysql.pp