module-mysql/lib/facter/mysql_exists.rb
mh 585cbc381b fix grant on newer mysql version
MySQL introduced some new privileges in Versions > 5.1.6, add them
to our set, so puppet still knows what :all is.
2011-05-12 22:13:37 +02:00

5 lines
94 B
Ruby

Facter.add("mysql_exists") do
setcode do
File.exist? '/usr/bin/mysql'
end
end