puppetlabs/hiera — pull request #38 by crayfishx (2012-04-05 08:23:14+00:00)
Title: Bug fix to parse_string - extra_data doesn't get parsed when using hiera-puppet

When using hiera-puppet, if :undefined is returned then it wins the scope[var] || extra_data[var] and is later changed to "". This means when using puppet that extra_data[var] will never get evaluated but will when not using hiera-puppet. This breaks hiera-mysql which uses the extra_data hash to pass in the query key.

Issue was first raised here:

https://github.com/crayfishx/hiera-mysql/issues/2

This fix gets around the problem