puppetlabs/razor-server — pull request #207 by smcclellan (2014-05-15 18:01:45+00:00)
Title: Check references when verifying duplicate creation

When issuing the same `create-policy` command twice in a row, the code currently reports that several fields — including all fields that reference other objects — do not match. This fixes that by generating a new object that will be used in the comparison.

Fixes https://tickets.puppetlabs.com/browse/RAZOR-248