| I wonder if it would be possible to solve this with the existing version by instead of binding the key to null in json you would bind it to an alias lookup of a key that does not exists. I have not tested, but that may result in the desired "not found". For example {{key: "% {alias(non_existing_key)} "}. It may be that results in an undef, but if it doesn't then that is a possible workaround and there would be no need to add anything to the hiera implementation. Would be great if someone has the time to test this. |