diff options
author | mh <mh@immerda.ch> | 2009-02-24 03:45:33 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-02-24 03:45:33 +0000 |
commit | 5391e01b0776d5cb1d6e63a6218a9eb2cd5f6af7 (patch) | |
tree | caf975a72b6d7a1974da7ed88705b0501686cdb4 | |
parent | 842da8d62bb5a1f9a173081ea2d2d8a48a645f95 (diff) |
revert boolean stuff because there are problem with puppet
-rw-r--r-- | plugins/facter/mysql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/facter/mysql.rb b/plugins/facter/mysql.rb index e262ec1..b8164bb 100644 --- a/plugins/facter/mysql.rb +++ b/plugins/facter/mysql.rb @@ -3,6 +3,6 @@ Facter.add("mysql_exists") do setcode do mysqlexists = system "which mysql > /dev/null 2>&1" - ($?.exitstatus == 0) + ($?.exitstatus == 0).to_s end end |