I found it frustrating trying to get the simple examples of Hiera to work from the official documentation. This is my simple example.