Updated the release notes for PDB-675
(PDB-47) Enable structured facts from facts terminus

This patch disables the stringify that we perform on outbound facts before
they are sent to the PuppetDB service.

To keep backwards compatibility, for now we are flattening these facts out
to strings before they are stored.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1005 from kbarber/ticket/master/pdb-49-unflatten-facts-from-terminus

(PDB-47) Enable structured facts from facts terminus
Merge branch 'stable'

* stable:
  Fix example for nodes endpoint to show 'certname' in response
  Updated the release notes for PDB-675
  Fix type in overall
  Correct link to Puppet report format documentation
  Include documentation for 'store report' version 4
Merge branch 'stable'

* stable:
  (docs) Revise API docs for updated info, clarity, consistency, and formatting
(PDB-488) Add producer timestamps to factsets and catalogs.

This pull request adds a `producer-timestamp` field to the top level of
of the facts and catalog structures passed from the master to PuppetDB, along
with an accompanying database migration and index. Ultimately this field
or something inserted in its place will be populated by agent nodes and used
for an agent-relative record of time compatible with possibly divergent
master clocks in a multiple-master setup.
Add deprecation warnings
Merge pull request #1008 from wkalt/ticket/master/pdb-488-producer-timestamp

(PDB-488) Add producer timestamps to factsets and catalogs.
(PDB-565) Support PDB storage of trusted facts

This pull request enables storage of trusted facts when the trusted_node_data
flag in puppet.conf is set to true.
Merge pull request #1016 from wkalt/ticket/master/pdb-565-trusted-storage

(PDB-565) Support PDB storage of trusted facts
(PDB-764) Malformed post conditions in query.clj.

This fixes some trivial typos in query.clj that had previously caused some
post-conditions to go unenforced.
Merge pull request #1018 from wkalt/ticket/master/pdb-764-malformed-query-postconditions

(PDB-764) Malformed post conditions in query.clj
(PDB-550) Update puppetDB docs to include info on LibPQFactory

Prior to this commit, the docs only enabled ssl for postgresql
connections. This commit changes the docs to add a few extra lines in
the database.ini file to use host cert/key and CA cert for verification
with ssl.

This commit also shows how PDB-550 can be accomplished, since it loads
PEM files and uses SSL without the use of keystores (yay!).
Merge pull request #1017 from briancain/maint/master/modify-psql-ssl-docs

(PDB-550) Update puppetDB docs to include info on LibPQFactory
(PDB-747) Initial schema for structured facts support

This patch adds an initial schema for structured facts support.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) Structured fact storage

Here we add the initial work required to start storing structured facts in
its new schema.

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) Migrate from old facts schema to new structure aware schema

This changes the structured-facts migration to move data from the previous
schema to the new.
(PDB-745) Structured facts garbage collection

This updates the garbage-collect! function to accomodate the new schema.
(PDB-708) Add backwards compatible querying capability for facts

This patch fixes our queries so that the old facts end-point still returns
facts.

It uses the new schema, but is only able to display items at the top level
for now. It does this by checking a depth column we populate upon command
submission to fact_paths.

As a consequence of this change, it creates some question about backwards
compatibility. For now I'm reverting the change to unstringify the facts
at the terminus so the old behaviour is still kept end-to-end.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #1019 from kbarber/ticket/master/pdb-708-structured-fact-storage

(PDB-708) Structured fact storage