codwazny/hiera-s3 — pull request #3 by robinbowes (2014-10-15 12:20:00+00:00)
Title: Fix conditionals

Anything returned from the hiera Config object will always be defined. If the item has not been set then it will be nil. So, the correct way to check if a config item is set is to check for nil or, more idiomatically, simply use the item in a boolean test.