diff --git a/lib/puppet/provider/mysql_datadir/mysql.rb b/lib/puppet/provider/mysql_datadir/mysql.rb index 3a31a11..2a44c73 100644 --- a/lib/puppet/provider/mysql_datadir/mysql.rb +++ b/lib/puppet/provider/mysql_datadir/mysql.rb @@ -6,7 +6,7 @@ Puppet::Type.type(:mysql_datadir).provide(:mysql, :parent => Puppet::Provider::M initvars # Make sure we find mysqld on CentOS and mysql_install_db on Gentoo - ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/share/mysql/scripts' + ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/share/mysql/scripts:/opt/rh/mysql55/root/usr/bin:/opt/rh/mysql55/root/usr/libexec' commands :mysqld => 'mysqld' commands :mysql_install_db => 'mysql_install_db'