Merge pull request #16 from dalen/find_nodes_fix

Fix needed require for puppet 3.x
Merge pull request #15 from dalen/puppet_http_pool

Use Puppet http pool and HTTPS by default
Add really simple gemspec

Adding simple gemspec to build ruby-puppetdb.

Just run
  gem build ruby-puppet.gemspec

Signed-off-by: Michael Stahnke <stahnma@puppetlabs.com>
Merge pull request #17 from stahnma/make_a_gem

Add really simple gemspec
Default to use the port Puppet actually uses.

Prior to this commit the connection from ruby-puppetdb assumed it was
plain-text even if Puppet itself was using SSL. ruby-puppetdb should now
just use whatever port PuppetDB is configured with in the
/etc/puppet/puppetdb/conf.d directory.

Signed-off-by: Michael Stahnke
<stahnma@puppetlabs.com>
Merge pull request #18 from stahnma/port_default_fixes

Default to use the port Puppet actually uses.
Allow only-active when no query is specified.

Previously, the --only-active option only worked when
specified in combination with a query.

This commit adds support for searching for all active nodes
with an empty query.
Add deactivate option

This commit adds an option:deactivate that can be used
to deactive all nodes that were returned as the search
results.
Merge pull request #19 from bodepd/add_deactivation_opt

Add deactivation opt