Puppet represents class foo::bar as Foo::Bar this commit correctly
handles this
Add initial node face query action

This commit adds an initial face that can be used to query
nodes out of puppetdb.
Merge pull request #1 from bodepd/initial_face

Add initial node face query action
Add ability to query all nodes

This commit adds the capability to query for a list of all nodes.

Ensures that an empty query is the default for the --query option of
the node query subcommand.

Adds functionality so that if a query is empty, it will call the nodes
url (getting all nodes)
Merge pull request #2 from bodepd/add_query_all

Add ability to query all nodes
Add support for querying for active nodes

This commit adds an option 'only_active' which
can be used to ensure that the query returns only
active nodes.

Also adds the get_active_query method which can
be used to query for active nodes.
Fail if titles contain quotes

it is really easily to accidentally specify resources
with quotes around the titles Package['foo'] b/c
that is how they would be specified in puppet.

This currently causes issues with the parser which
leads to failures.

Queries now fail if resource titles are specified
with quotes
save headers as a variable

This commit saves the headers to a variable to
reduce code duplication.
Move filtering of returned resources to certnames

Currently, the resources returned from a resources
query are munged into a list of the hostnames that
returned those resources.

This makes it hard to re-use the query_puppetdb
method for cases where you actually want all
of the resources returned by the resources rest call.

This commit ensures that query_puppetdb always just
returns what the rest calls return and moves the
munging to certnames into the find_nodes_matching
method.
implement filtering methods for facts and resources

This commit implements methods that can be used
to filter facts and resources from a node_name based
on specific filters.
Create query subcommand

This commit creates a query subcommand in order to
unify all of the functionality into a single subcommand.

This has been done b/c reusing the existing faces
resource, facts, node led to inconsistencies and
was generally too complicated.
Fix typo

Fix one typo that escaped the last refactor.

return_facts has been renamed to filter.
Fix face to not be an indirector face.

This face was designated as an indirector face by copy/paste.

This commit resolves it to just be a regular face.
Remove nils from filter

This fixes a nil related exception for cases where
the filter did not return anything.
Rewrite README to indicate face usage.
Initial function checkin

This commit is the first iteration of adding functions.

These functions are in the VERY early stages and still
need a lot of work and love :)
Refactor resource result output

This commit refactors the resource query output
to return something a little easier to consume.
split the issues query into a variable

This is so that I can eventually log all of the
queries that are performed at debug level.
remove debug turds

Probably a few more of these floating around.

Should never have been checked in
only add node names to find_node_resources if specified

This is going to eventually support the ability to
just search for resources without having to do it
per node (for the case where we don't want to filter
the search)