Merge pull request #838 from glorpen/scripts

Support mysql_install_db script on Gentoo
This commit is contained in:
Bryan Jen 2016-05-19 10:13:18 -07:00
commit f8ef652e2d

View file

@ -5,8 +5,8 @@ Puppet::Type.type(:mysql_datadir).provide(:mysql, :parent => Puppet::Provider::M
initvars
# Make sure we find mysqld on CentOS
ENV['PATH']=ENV['PATH'] + ':/usr/libexec'
# Make sure we find mysqld on CentOS and mysql_install_db on Gentoo
ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/share/mysql/scripts'
commands :mysqld => 'mysqld'
commands :mysql_install_db => 'mysql_install_db'