hiera-vault icon indicating copy to clipboard operation
hiera-vault copied to clipboard

Fix translation issue with version 5 hiera.yaml

Open logic opened this issue 8 years ago • 0 comments

With the version 5 hiera.yaml format, we can still use older custom backends like this via hiera3_backend. There appears to be some magic to translate hash keys from name to :name for compatibility purposes, but it doesn't appear to recurse down into options more than one level deep, resulting in a mounts hash that looks like "generic"=>"foo"} instead of :mounts=>{:generic=>"puppet"}. This is a quick hack to just work around the problem, in lieu of a proper conversion to version 5.

logic avatar Oct 26 '17 09:10 logic