Find MySQL 5.5 installation on CentOS #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
This commit is contained in:
parent
e71e712f31
commit
7d2ab4e921
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue