DataDog/cookbooks — pull request #7 by miketheman (2012-08-08 22:31:56+00:00)
Title: Fixes conditional evaluation for a missing `api_key`

The previous condition was not matching as a failure, and was completing the run without `raise`ing.

I've moved the evaluation to its own statement, and this could definitely be moved to the top of the recipe - as in, do not continue until you have an `api_key`.