puppetlabs/puppet — pull request #639 by pcarlisle (2012-04-06 21:39:21+00:00)
Title: (#13659) Convert fact values to string when searching database

When querying inventory_facts we need to treat the fact value as a string,
since it's stored as text in the database. This causes an error to be raised
on postgres.