Skip to content

Commit 7d2ab4e

Browse files
committed
Find MySQL 5.5 installation on CentOS puppetlabs#832
MySQL from CentOS SCL repository is installed in different location. You should also check for binaries in this location. Without this change puppet returns error like: Could not find a suitable provider for mysql_datadir
1 parent e71e712 commit 7d2ab4e

File tree

1 file changed

+1
-1
lines changed
  • lib/puppet/provider/mysql_datadir

1 file changed

+1
-1
lines changed

lib/puppet/provider/mysql_datadir/mysql.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
initvars
77

88
# Make sure we find mysqld on CentOS and mysql_install_db on Gentoo
9-
ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/share/mysql/scripts'
9+
ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/share/mysql/scripts:/opt/rh/mysql55/root/usr/bin:/opt/rh/mysql55/root/usr/libexec'
1010

1111
commands :mysqld => 'mysqld'
1212
commands :mysql_install_db => 'mysql_install_db'

0 commit comments

Comments
 (0)