Skip to content

Commit f8ef652

Browse files
committed
Merge pull request #838 from glorpen/scripts
Support mysql_install_db script on Gentoo
2 parents cb0b0a6 + 41e4753 commit f8ef652

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lib/puppet/provider/mysql_datadir/mysql.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
initvars
77

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

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

0 commit comments

Comments
 (0)