diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 13:04:42 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-26 13:04:42 -0200 |
commit | ce9a3a152fc180e2de297367ea1a87477eae9338 (patch) | |
tree | 967ac44bab63a89f07c3ce5b09f721e6befaa718 /lib/facter/mysql_exists.rb | |
parent | e51113be291e2c30088d9b25e9e279d9f3a675e1 (diff) | |
download | puppet-mysql-ce9a3a152fc180e2de297367ea1a87477eae9338.tar.gz puppet-mysql-ce9a3a152fc180e2de297367ea1a87477eae9338.tar.bz2 |
More lib updates
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 |