Skip to content

Commit 9801483

Browse files
committed
Merge pull request #831 from fraenki/freebsd_mysqld
make sure we find mysqld on FreeBSD
2 parents 2603411 + e52a669 commit 9801483

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/puppet/provider/mysql.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ class Puppet::Provider::Mysql < Puppet::Provider
33
# Without initvars commands won't work.
44
initvars
55

6-
# Make sure we find mysqld on CentOS
7-
ENV['PATH']=ENV['PATH'] + ':/usr/libexec'
6+
# Make sure we find mysql commands on CentOS and FreeBSD
7+
ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/local/libexec:/usr/local/bin'
88

99
commands :mysql => 'mysql'
1010
commands :mysqld => 'mysqld'

0 commit comments

Comments
 (0)