-
Notifications
You must be signed in to change notification settings - Fork 796
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
Add support for the Deferred function on mysql::db #1579
Comments
Does your function return a |
I use puppet 8.
For the char set utf8mb4 was chosen. |
Looking at the current version of the code, it looks like this should have worked. Can you confirm the module version you're using and also re-run with |
├── puppetlabs-mysql (v15.0.0) |
Looks like the database creation itself is failing before anything to do with the user's password. I don't get the exact same error (which is probably mysql/mariadb version dependent), but I suspect the one I get highlights the problem.
Try... mysql::db { 'my_db':
charset => 'utf8mb4',
collate => 'utf8mb4_0900_ai_ci', # Or possibly 'utf8mb4_unicode_ci' depending on your mysql variant/version
} |
Reading https://mariadb.com/kb/en/supported-character-sets-and-collations will shown that utf8mb4_general_ci will be the right.
|
The mysql::db resource needs an password, but it can't received by the Deferred function of puppet.
Sample code:
The use of it fails with:
The text was updated successfully, but these errors were encountered: