dalen/puppet-puppetdbquery — pull request #23 by ripienaar (2013-11-07 10:48:54+00:00)
Title: Improves formatting of the node_info display

Previously the node info display would just to_s the data resulting
in a output like this:

catalog_timestamp2013-11-07T10:43:25.989Zreport_timestampdeactivatednamedomu-12-x-x-x-x-x.compute-1.internalfacts_timestamp2013-11-07T10:43:22.882Z

This commit tweaks the output so it's the same as the one from the
facts command:

domu-x-x-x-x-x-x.compute-1.internal {"facts_timestamp":"2013-11-07T10:43:22.882Z","catalog_timestamp":"2013-11-07T10:43:25.989Z","deactivated":null,"report_timestamp":null}

Of course this will also change the data format of anyone using the
face so up to you to take this commit, but this is both more consistant
between the different actions and more readable on the cli