Hey Chengkai, That was definitely the problem. I made a bad assumption that `puppetserver gem install` and `/opt/puppetlabs/puppet/bin/gem install` were the same thing. Everything works perfectly now. Thanks! -Dan
On Tue, Feb 19, 2019 at 12:42 PM chengkai liang <ckm.li...@gmail.com> wrote: > You will also need to install hiera-eyaml via > /opt/puppetlabs/puppet/bin/gem. Puppetserver only install gem for jruby > > On Sat, Feb 16, 2019 at 23:00 Daniel Kinon <dan.ki...@gmail.com> wrote: > >> Hello, >> I'm running puppetserver 6.2.0 with hiera-eyaml-gpg but can't seem to >> get past the following error when I perform a lookup for an encrypted block >> during a puppet agent run: >> ~~~ >> Error: Could not run: cannot load such file -- >> hiera/backend/eyaml/encryptors/gpg >> ~~~ >> >> Here is the full gem list from puppetserver and all the requisite gems >> are present (hiera-eyaml, hiera-eyaml-gpg, ruby_gpg [since gpgme fails >> install]): >> ~~~ >> # puppetserver gem list >> >> *** LOCAL GEMS *** >> >> cmath (default: 1.0.0) >> csv (default: 1.0.0) >> deep_merge (1.0.1) >> facter (2.5.1) >> fast_gettext (1.1.2) >> fileutils (default: 1.1.0) >> gettext (3.2.2) >> hiera-eyaml (2.1.0) >> hiera-eyaml-gpg (0.6) >> highline (1.6.21) >> hocon (1.2.5) >> ipaddr (default: 1.2.0) >> jar-dependencies (default: 0.3.12) >> jruby-openssl (default: 0.10.0 java) >> jruby-readline (default: 1.2.2 java) >> json (default: 2.1.0 java) >> locale (2.1.2) >> mini_portile2 (2.4.0) >> multi_json (1.13.1) >> psych (default: 3.0.2 java) >> puppet-resource_api (1.7.0) >> puppetserver-ca (1.2.1) >> rake-ant (default: 1.0.4) >> rdoc (default: 6.0.1) >> ruby_gpg (0.3.2) >> scanf (default: 1.0.0) >> semantic_puppet (1.0.2) >> text (1.3.1) >> trollop (2.1.2) >> webrick (default: 1.4.2) >> ~~~ >> >> Any ideas on what I might be missing or how to get more verbose output >> for further troubleshooting? >> Thanks! >> -Dan >> >> -- >> 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/3657e2ed-6e30-477d-bd0c-4dc9e445a034%40googlegroups.com >> <https://groups.google.com/d/msgid/puppet-users/3657e2ed-6e30-477d-bd0c-4dc9e445a034%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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/CAC9thQUyF4-eB0%3DaKtF2AwHgg-s%2Bn2PXPHdJ4-CxwveRS8sT2g%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CAC9thQUyF4-eB0%3DaKtF2AwHgg-s%2Bn2PXPHdJ4-CxwveRS8sT2g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAMGSraF3h4Q3VhndWv1Hb%3DUuKZVKTQJbgx5g4vHy%2B7aYfWpbNw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.