-
Notifications
You must be signed in to change notification settings - Fork 798
Open
Description
Describe the Bug
When creating a database with an sql
parameter on MariaDB 11.x, a message is displayed:
Notice: /Stage[main]/Profile::Mariadb::Database/Mysql::Db[phpmyadmin]/Exec[phpmyadmin-import]/returns: mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead
Note it is displayed as a notice in the puppet output, not as a warning, so not that bad an error.
Expected Behavior
No deprecated message should be displayed
Steps to Reproduce
Create a database with an sql
parameter on MariaDB 11.x
mysql::db { 'phpmyadmin':
[...]
sql => ['/opt/phpmyadmin/sql/create_tables.sql'],
}
Environment
- Module version 16.3.0
- MariaDB 11.8
- Platform Rocky Linux 8
Additional Context
The code use mysql
instead of EDIT: There should probably be a new params, because thinking more than 2 seconds: it should probably not be related to the package name.$mysql::params::client_package_name
https://github.com/puppetlabs/puppetlabs-mysql/blob/main/manifests/db.pp#L127
Should be a quick fix, I will provide shortly
Metadata
Metadata
Assignees
Labels
No labels