ffnord/ffnord-puppet-gateway — pull request #74 by sargon (2014-12-28 15:03:50+00:00)
Title: Helper for extracting informations from fastd socket.

This pr introduces a new script fastd-query, which given a fastd socket via a enviroment variable, helps extracting often needed informations from the json string provided by fastd. The script utilises socat to retrieve the json from fastd status socket and jq for query data on that json blob.

Some of the target objects allow further filtering by appending jq querys.