Skip to content

Commit e52a669

Browse files
committed
make sure we find mysql commands on FreeBSD
1 parent 2603411 commit e52a669

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)