First commit
add readme
Update README.md
update readme
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.
Merge pull request #3 from bodepd/dev

Dev
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.
Merge pull request #4 from bodepd/fix_typo

Fix typo
Merge pull request #5 from bodepd/fix_your_face

Fix your face