Puppetlabs-nodesearch is a project mainly written in Ruby, it's free.
Experiment for querying data out of storedconfigs
404: Not Found