puppetlabs/razor-server — pull request #226 by smcclellan (2014-06-20 19:14:26+00:00)
Title: `create-tag` should be idempotent

Running multiple identical `create-tag` statements
was yielding a "Sequel::ValidationFailed - name is already taken"
error from Sequel instead of PSQL's "UniqueConstraintViolation".
This rectifies that by fielding both exceptions during import.

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