puppetlabs/puppetdb — pull request #333 by nicklewis (2012-10-24 18:54:45+00:00)
Title: Add a v2 replace catalog command which doesn't take classes or tags

This version of the command is also stricter about which keys are allowed/required, and will fail if there are extras. And it accepts both a stringified catalog as its payload, as well as an embedded object.

This changeset also includes some refactors to how catalogs are parsed and validated.