crayfishx/hiera-mysql — pull request #3 by Spredzy (2012-07-16 08:53:44+00:00)
Title: Adapating mysql_backend.rb to interact with puppet hiera_hash() function

This pull request aims to fix the behavior of the mysql_backend.rb, when used with hiera_hash() puppet function.

In order to use correctly, create_resources function, the second parameter needs to be a hash.

```ruby
create_resources(file, hiera_hash('x'))
```

Currently, it wasn't returning in the form it should have. This patch fixes it.