See: voxpupuli/puppet-lint-trailing_comma-check#4 By adding parenthesis around the conditional in the if statement we can get this to pass lint checks for now. Note that the puppet-lint bug is still a bug, and should be fixed in the puppet-lint project.
Merge pull request #197 from sophomeric/master
fail is not a resource type, it's a function.
Remove restrictions on custom options hash
Previously, the Hiera::Hiera5_hierarchy type tried to enumerate what all the valid keys might be in the options hash for a hierarchy entry. However, the options hash contains "backend-specific options required by your backend." We cannot know what options a custom backend might require. We should therefore not try and enumerate valid keys for this hash.
Remove restriction on lookup_key value
Previously, the only permissible value for lookup_key was eyaml_lookup_key. This prevented the use of any and all Hiera 5 lookup_key backend functions besides eyaml_lookup_key. Custom backends are valid. This commit fixes the type definition not to zealously constrain configuration options to only those backends that ship out-of-box with Puppet.
Merge pull request #200 from reidmv/allow_custom_options
Remove restrictions on custom options hash