diff options
author | mh <mh@immerda.ch> | 2011-05-12 22:13:37 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-05-12 22:13:37 +0200 |
commit | 585cbc381ba1fe3fe0c1172e049f7d7ba2639edf (patch) | |
tree | 7ee0a721cbf601defea1e5428e27e44bbe76f604 /lib/facter/mysql_exists.rb | |
parent | b8b6705865f947e4473a8e4981963dbeed667f8d (diff) |
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.
Diffstat (limited to 'lib/facter/mysql_exists.rb')
-rw-r--r-- | lib/facter/mysql_exists.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/facter/mysql_exists.rb b/lib/facter/mysql_exists.rb new file mode 100644 index 0000000..d08dabe --- /dev/null +++ b/lib/facter/mysql_exists.rb @@ -0,0 +1,5 @@ +Facter.add("mysql_exists") do + setcode do + File.exist? '/usr/bin/mysql' + end +end |