Module Version: 5.3.0
Puppet Version: 4.9.4
OS Name/Version: CentOS 7 (3.10.0-514.26.2.el7.x86_64)
When retrieving facts froms servers which have zimbra installed, an error is returned for mysql_version.
This happens because zimbra is actually a wraper for many services, including MySQL/MariaDB.
When mysql_version.rb calls 'mysql --version', it is actually calling zimbra's shell script wrapper, which performs some tests and then execute the real command.
There are many possibilities for the returned values from the wrapper and mapping them all is not a very good approach.
I was able to solve the issue with the change below to mysql_version.rb
(the same goes for mysql*d*_version.rb)