puppetlabs/hiera-puppet — pull request #23 by eshamow (2012-04-09 00:04:53+00:00)
Title: (#13684) Add safe_hiera function that accepts defaults

Adds a :safe_heira function that accepts safe_hiera('key','default') and
returns default even if hiera is misconfigured. It allows hiera to fail
and passes through the error message if no default is defined.