updated spec file suse support

This change wil make puppetdb rpm building possible on opensuse
with the same spec file as redhat.
Only requirement missing is lein / clojure on suse
So build it locally with lein from download script.
(21450) JSON responses should be UTF-8

JSON is UTF-8, therefore our responses should also be UTF-8.
Silence Jetty INFO logging during tests
Merge pull request #551 from aboe76/suse_puppetdb_spec_erb

updated spec file suse support
improved systemd.service file with template erb
The template task will provide the right systemd file.
Removed the params as it is not needed with template

Small fix on suse init file template, removed puppetdb name
in favor of templated variable namespace.
Merge pull request #556 from aboe76/systemd_files_fix

improved systemd.service file with template erb and fix suse name in init template
Change createdb docs example to use UTF8 encoding

Signed-off-by: Ken Barber <ken@bob.sh>
Add puppetdb-anonymize tool

This patch adds a new tool 'puppetdb-anonymize' which provides users with a
way to anonymize/scrub their puppetdb export files so they can be shared
with third parties.

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

Change createdb docs example to use UTF8 encoding
Use a random jetty port in test code
Extract test webserver code into helper macro
Merge pull request #555 from grimradical/charset-fix

(21450) JSON responses should be UTF-8
Fix usage information for -c to indicate a conf.d directory can be used

Since puppetdb can accept a directory of configuration, the current usage
information for the -c switch is not completely accurate. This patch
changes the usage information to indicate a directory can be used for
both the 'services' and 'benchmark' sub-commands.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #564 from kbarber/config_switch_takes_directory

Fix usage information for -c to indicate a conf.d directory can be used
Fix spec tests to be compatible with puppet 3.3

One of our spec tests mocks an object from the puppet object model.
In the latest version of puppet this object had a small API change;
our mock object was not set up to handle this correctly. This
commit should make the tests compatible with all versions of Puppet
from 2.7.x, 3.0.x, 3.1.x, 3.2.x, and 3.3.x.
Merge pull request #570 from cprice404/bug/master/spec-compat-with-puppet-3.3

Fix spec tests to be compatible with puppet 3.3
Fix brackets so all assertions are tested

Prior to this commit, the misplaced brackets caused only the first
assertion to be tested. This commit corrects the brackets, and now
all assertions are tested as intended.
Merge pull request #573 from shakedown/bug/master/broken-event-test

Fix brackets so all assertions are tested
Correct minor code review items

Signed-off-by: Ken Barber <ken@bob.sh>
Add --config parameter to accept a clojure formatted custom profile file

Signed-off-by: Ken Barber <ken@bob.sh>