
Hi,
I'm trying to store some encrypted values in hiera, using either hiera-eyaml or hiera-eyaml-gpg. While hiera-eyaml (PKCS7 encryption) works fine, the agent gives the following error message when using hiera-eyaml-gpg:
Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'the_secret_field': can't convert nil into String on node the_machine.example.com
Any ideas what could be wrong or how to debug this?
On Wednesday, 29 January 2014 14:43:22 UTC, Dirk Heinrichs wrote:Hi,
I'm trying to store some encrypted values in hiera, using either hiera-eyaml or hiera-eyaml-gpg. While hiera-eyaml (PKCS7 encryption) works fine, the agent gives the following error message when using hiera-eyaml-gpg:
Could not retrieve catalog from remote server: Error 400 on SERVER: Error from DataBinding 'hiera' while looking up 'the_secret_field': can't convert nil into String on node the_machine.example.com
Any ideas what could be wrong or how to debug this?
I've not seen that before.
What versions of puppet/hiera/hiera-eyaml/hiera-eyaml-gpg are you using? Is there anything in the log on the puppetmaster?
Can you raise an issue on the github project at https://github.com/sihil/hiera-eyaml-gpg with details on how you produced the error?
Am 29.01.2014 17:27, schrieb Simon Hildrew:
Can you raise an issue on the github project at https://github.com/sihil/hiera-eyaml-gpg with details on how you produced the error?
Sure.