make sure we find mysql commands on FreeBSD

This commit is contained in:
Frank Wall 2016-05-06 01:16:39 +02:00
parent 2603411dac
commit e52a669410

View file

@ -3,8 +3,8 @@ class Puppet::Provider::Mysql < Puppet::Provider
# Without initvars commands won't work.
initvars
# Make sure we find mysqld on CentOS
ENV['PATH']=ENV['PATH'] + ':/usr/libexec'
# Make sure we find mysql commands on CentOS and FreeBSD
ENV['PATH']=ENV['PATH'] + ':/usr/libexec:/usr/local/libexec:/usr/local/bin'
commands :mysql => 'mysql'
commands :mysqld => 'mysqld'