Hi Kit, Thanks for posting. No, I did not resolve it and have put it on the back burner. Quite possible that it is a Ruby / gems issue.
Keep us posted if you resolve it before me. Werner On Saturday, December 21, 2013 11:13:46 AM UTC-5, Kit Plummer wrote: > > Did you resolve this? > > I'm having a similar problem. But, I think it is because the eyaml > backend isn't getting loaded :) : > > "Cannot load backend eyaml: cannot load such file -- > hiera/backend/eyaml_backend" > > I'm wondering if this is because the Ruby version/Gems that are used by PE. > > On Friday, December 6, 2013 8:10:35 AM UTC-7, wernerbahlke wrote: >> >> I am trying to use hiera-eyaml and have followed the README instructions. >> >> eyaml seems to work, I can encrypt and decrypt files and passwords. >> >> I can also use hiera -c to get at an encrypted value like so: >> >> hiera -c /etc/puppetlabs/puppet/hiera.yaml rootpwd >> >> But when running this simple test module it fails with cannot find the >> data item rootpwd defined in hieradata/defaults.eyaml. >> >> class test { >> $test = hiera('test') >> $rootpwd = hiera('rootpwd') >> notify { "Test: ${test}": } >> } >> If I just have the test variable defined in defaults.yaml it works fine. >> So it cannot find the defaults.eyaml file. >> >> Here is my hiera.yaml: >> ------------------------------ >> >> :backends: >> >> - yaml >> - eyaml >> - :hierarchy: >> - defaults >> - "%{clientcert}" >> - "%{environment}" >> - global >> - :yaml: :datadir: /etc/puppetlabs/puppet/modules/hieradata >> - :eyaml: :datadir: /etc/puppetlabs/puppet/modules/hieradata >> - :pkcs7_private_key: >> /etc/puppetlabs/puppet/secure/keys/private_key.pkcs7.pem >> - :pkcs7_public_key: >> /etc/puppetlabs/puppet/secure/keys/public_key.pkcs7.pem >> >> And my defaults.eyaml file: >> ------------------------------ >> >> rootpwd: > >> ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQAwDQYJKoZIhvcNAQE >> >> ...] >> Any hints will be greatly appreciated. >> >> I am running Puppet Enterprise 3.1.0 on Ubuntu 12.04. >> > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/eed4dd1d-6fc0-4538-b1c5-1621f78ab509%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.