Document repl 'host' setting

The [repl] block also supports setting 'host' to change where the repl service
is listening to. This documents this setting, while also warning that changing
it from 127.0.0.1 is not recommended for a production environment.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-377) Disabling JAR repacking when creating RPMS

The manipulation of the class files causes issues with AOT compiled
Clojure code, specifically around defrecords/deftypes. Disabling
repacking prevents the issue.
Merge pull request #827 from senior/ticket/1.6.x/pdb-377-fedora-jar-repacking-fix

(PDB-377) Disabling JAR repacking when creating RPMS
(maint) Update RPM spec for RHEL 7
Invalid namespaces for tests http/nodes|fact_names masking failures

The test files http/fact_names.clj and nodes.clj had incorrect namespace
declarations that were overridden in other files. This caused these tests
to be skipped and in fact mask a couple of failures.

Luckily these were testing failures only, once fixed this is all passing
again.

Signed-off-by: Ken Barber <ken@bob.sh>
(maint) Remove Sid from package build defaults

Removing Sid to prevent package builds from wedging
Merge pull request #828 from haus/maint/1.6.x/update_spec_for_rhel_7

(maint) Update RPM spec for RHEL 7
Merge pull request #830 from mckern/1.6.x

(maint) Remove Sid from package build defaults
Merge pull request #824 from kbarber/maint/1.5.x/repl-host-documentation

DOCS: Document repl 'host' setting
Merge pull request #829 from kbarber/maint/1.6.x/invalid-test-namespaces

Invalid namespaces for tests http/nodes|fact_names masking failures
(PDB-425) Move daemon-reload out of install-only

On upgrades, systemd service files may not have already been present, and they
might have changed. To address this, this commit moves the daemon-reload call
to systemctl out of the install only section of the %post, so that it is always
invoked. This will register the systemd service on upgrade from a sysv service
(as happens on fedora 18 through fedora 20) as well as register any changes to
the service file.
(PDB-425) Try SysV and SystemD on upgrades

On upgrades from PuppetDB < 1.6.0, even on platforms that support systemd, only
sysv will be in place. This means that when the status is queried in the %pre,
there won't be a systemd service file yet, so puppetdb will appear to not be
running even if it is. Next, when the service is stopped, also in the pre,
again there will be no systemd service to stop, even if there is a sysv service
running. This commit addresses that by testing for the existence of the systemd
service file, and if that is present, use the systemd service calls. Otherwise
it calls out to the sysv init system.
Merge pull request #833 from haus/ticket/1.6.x/pdb_425_fix_systemd_upgrades

SystemD upgrade improvements
(packaging) correct path to libexec files for PE

Prior to this commit, when we installed to the libexec dir when building PE, we
installed to /opt/puppet/libexec/puppetdb. However, the %{name} macro in the
redhat spec will evaluate to pe-puppetdb. This means the %files section looked
for files that don't exist. This commit updates the spec file to use the
  correct %{realname} macro, e.g. 'puppetdb', which is the correct path.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #836 from MosesMendoza/packaging/1.6.x/fix_pathing_libexec

(packaging) correct path to libexec files for PE
PDB-407 Fedora 20 Acceptance Testing

This adds a fedora 20 image to the acceptance testing image list, and modifies
any tests that need modification for these tests to pass.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-407 Fix bug in init script for fedora

While working on acceptance tests we've found a bug with the init script for
Fedora and 1.5.x specifically. That is, the ps that was being returned during
find_my_pid did not return the fully qualified file path to be matched
against. This patch simply takes the basename from JAVA_BIN and uses that
in the match instead.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-407 Change gemfile reference for beaker to point to upstream

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #834 from kbarber/ticket/1.5.x/PDB-407-fedora-20-acceptance-testing

PDB-407 Fedora 20 Acceptance Testing
Merge branch '1.5.x' into 1.6.x

* 1.5.x:
  PDB-407 Change gemfile reference for beaker to point to upstream
  PDB-407 Fix bug in init script for fedora
  PDB-407 Fedora 20 Acceptance Testing
  Document repl 'host' setting