Chef Compliance 0.15.13 is now available from the Chef downloads site. This is a minor release update which is recommended for all users of Chef Compliance. Here are the enhancements and bug fixes included in this release:
Enhancements:
Fixed bugs:
Upgrade instructions for Chef Compliance are found here.
This release makes a substantial number of API and database improvements, especially around using UUIDs as unique identifier for all items. These are preparations for the upcoming 1.0 release of Chef Compliance, which will feature a stable API endpoint.
Due to the nature of database changes, it is recommended to create backup before this upgrade. You can do this using these two bash commands:
export THEDATE=$(date '+%Y-%m-%d-%H-%M-%S') su - chef-pgsql -c "/opt/chef-compliance/embedded/bin/pg_dumpall -c | gzip --fast > /tmp/postgresql-dump-$THEDATE.gz"
In the event that a database restore is needed, it can be done with the following command:
gunzip -c /tmp/postgresql-dump-$THEDATE.gz | su - chef-pgsql -c "/opt/chef-compliance/embedded/bin/psql -d postgres"