puppetlabs-mysql
puppetlabs-mysql copied to clipboard
After upgrading to MySQL module v15, get an error when setting root_password
Describe the Bug
I get the following error in Impact Analysis, Internal Server Error: org.jruby.exceptions.RuntimeError: (PreformattedError) Evaluation Error: Mysql_user[root@localhost]['password_hash'] contains a Deferred value. It will be converted to the String 'Deferred({'name' => 'mysql::password', 'arguments' => ['somerandompassword234']})' (file: /etc/puppetlabs/code/environments/linux_test_cdpe_ia_1716222107109/modules/mysql/manifests/server/root_password.pp, line: 33)
Expected Behavior
Don't get an error
Steps to Reproduce
Steps to reproduce the behavior: Upgraded to MySQL module v15
Environment
- Version PE 2023.7.0
- Platform RHEL 8
Additional Context
I believe this is happening when calling the 'mysql::server' class and specifying the root_password parameter