Release notes for PuppetDB 1.5
Update docs to 1.5
fixes based on pull request feedback
Add some overlooked bug fixes to the release notes
Merge pull request #676 from cprice404/maint/burgundy/release-notes

Maint/burgundy/release notes
Before this commit,
log4j logfile name was hardcoded to puppetdb. This broke logrotation
which used @name and so was pe-puppetdb on pe installations.
(maint) Lift variables out of conditionals

These variables (initscriptname, log_dir) are always composed of a string
followed by the @name variable, so it makes little sense to repeat their
definition in each branch of the if @pe conditional. This commit moves them
below the conditional, where @name is defined and they can be safely defined.
Merge branch '1.5.x'

* 1.5.x:
  Add some overlooked bug fixes to the release notes
  fixes based on pull request feedback
  Update docs to 1.5
  Release notes for PuppetDB 1.5
(maint) Make the use of @log_dir consistent

Previously, /var/log/@name, @log_dir, and @log_dir || /var/log/puppetdb were
all in use. As @log_dir is always defined when the templates get evaluated,
they don't need a default case to fall back to. This commit makes the use of
@log_dir and @log_dir/@name consistent in the templates.
Merge pull request #683 from haus/ticket/1.5.x/logging_and_more_logging

logging fixes
Log errors when invoking a subcommand

The main dispatcher scans available namespaces and dispatches to the
specified "-main" function. For example, running the "services"
subcommand would trigger loading of the "-main" function in the
"com.puppetlabs.puppetdb.cli.services" namespace.

However, if there was an error during the attempt to "require" that
namespace, it wouldn't be logged properly. This commit adds the
"require" step to the existing try/catch block.
Fix broken require
Merge branch 'namespace-fix' into 1.5.x

* namespace-fix:
  Fix broken require
  Log errors when invoking a subcommand
(#22350) Adding a read database, useful for Postgres Hot Standby clusters

Postgres supports Hot Standby: http://wiki.postgresql.org/wiki/Hot_Standby which
uses one database for writes and another database for reads.  This commit adds that
features and some tests ensuring the isolation of the read database calls from
the write database calls
Wrap the two-db shutdown call in a with-connection to ensure the correct
connection is used when shutting down an hsql instance
Validate facts order-by against strings
Validate nodes order-by against strings
Merge pull request #686 from shakedown/bug/1.5.x/paging-order-by-strings

Bug: validate order-by against strings for facts/fact-names/nodes
Merge branch '1.5.x'

* 1.5.x:
  Validate nodes order-by against strings
  Validate facts order-by against strings
  Fix broken require
  Log errors when invoking a subcommand
  (maint) Make the use of @log_dir consistent
  (maint) Lift variables out of conditionals
  Before this commit, log4j logfile name was hardcoded to puppetdb. This broke logrotation which used @name and so was pe-puppetdb on pe installations.
Change the max # of db connections to 25 per pool, 25 for reads, 25 for writes