Convert tests to beaker.
Merge pull request #114 from apenney/beaker

Convert tests to beaker.
Use the /v2 metrics endpoint instead of /metrics

The base url /metrics has long been a deprecated URL and creates noise when
tested like this. Not to mention in current puppetdb master we are removing
/v1 support so this test starts to break.

By making it /v2, we still afford support for most of our 1.x users, and
since /v2 will be around for quite some time this seems like a suitable
temporary step.

In the future a generic URL should really be provided by PuppetDB as something
that is more permanent and generic.

Signed-off-by: Ken Barber <ken@bob.sh>
Fix up unit tests after /v2 changes

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #116 from kbarber/maint/master/use-v3-api-for-testing

Use the /v2 metrics endpoint instead of /metrics
Release 3.0.1

Includes CHANGELOG changes and release bump.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #117 from kbarber/maint/master/release_301

Release 3.0.1
Allow custom gemsource
Merge pull request #118 from hunner/dynamic_gemsource

Allow custom gemsource
Adding option to disable management of the firewall

Some users will manage the firewall externally from this module.
Merge pull request #119 from nibalizer/option_disable_firewall

Adding option to disable management of the firewall
Use $is_pe for PE determination

...rather than the custom logic that was used previously. Using a
uniform canon fact across all modules that need to differentiate between
PE and POSS makes unusual situations (such as having a missing
/opt/puppet/pe_version file) more, well, uniform.
Bump version requirement for puppetlabs/stdlib

The is_pe fact was first defined in stdlib in 3.1.0. We want to use that
fact for making the "PE or Not PE" determination in params, so we need
to require a stdlib at least that new. Note that at the time of commit
the current version of stdlib is 4.1.0, so we're not exactly requiring
bleeding edge.
Merge pull request #122 from reidmv/use_is_pe

Use $is_pe for PE determination