foreman-install fails when choosing to use mysql on CentOS 7
Was testing the foreman-installer on CentOS 7 to find that when selecting foreman-db-type mysql, there are failures due to trying to install mysql vs mariadb via yum.
Execution of '/usr/bin/yum -d 0 -e 0 -y list mysql' returned 1: Error: No matching Packages to list
Installing Error: Execution of '/usr/bin/yum -d 0 -e 0 -y lis [13% /Stage[main]/Mysql::Client::Install/Package[mysql_client]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list mysql' returned 1: Error: No matching Packages to list
#3 Updated by Andreas Schiermeier over 6 years ago
Created Pull Request to fix this issue. Afterwards I've realized this is an official module supported by Puppetlabs.
The current version of the module on https://forge.puppetlabs.com/puppetlabs/mysql provides a much better fix. Is it possible to integrate this one?