Larry Fast
2014-Feb-06 18:22 UTC
[Puppet Users] hiera-eyaml doesn't seem to work with the hiera_hash() function
I just started evaluating hiera-eyaml and hit a glitch. It seems that any attempt to read a hash in an eyaml file using hiera_hash(), produces an error: "Error 400 on SERVER: Resolution type is hash but parsed_answer is a Hash" The error occurs even if the hash does not contain any encrypted values. One more detail: - hiera( 'somehash' ) works fine - hiera_hash( 'somehash' ) fails I'm using heira-eyaml 2.0.0 on puppet 3.0.1. Has anyone seen this before? The following code snippets should reproduce the problem: file: my_hiera.eyaml somehash: foo: this is just a string code: $a = hiera( 'somehash') # This succeeds $b = hiera_hash('somehash') # This fails -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1a692fbf-688a-44b1-8877-6cdbdee55299%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.