OK... found one problem and have another. I am trying to encrypt a OpenSSL private key and of course it is multiline.
Found out that I was specifiying PKS7 at the beginning of the block and was supposed to specify PKCS7 instead. Old eyes I guess. Corrected that and not have something that looks sorta like: mykeyhere: PKCS7[ ----- key start ----- ... body of key... ...with many... ....lines.... ---- key end ---- ]! but when I end the edit I see: [hiera-eyaml-core] nested asn1 error I seem to remember I have to do something special with multiline values in yaml/eyaml... but I don't remember what. On Tue, Apr 30, 2019 at 3:16 PM Robert <robpo...@gmail.com> wrote: > Hi, > > it's probably a copy&paste error but > > [hiera-eyaml-core] cannot load such file -- > hiera/backend/eyaml/encryptors/pk*s7* > > > vs. > > hiera/backend/eyaml/encryptors/pk*cs7*.rb > > > You don't have a typo in some config, do you? > > Best > Rp > > On Mon, Apr 29, 2019 at 10:42 PM Peter Berghold <salty.cowd...@gmail.com> > wrote: > >> I had installed hiera-eyaml on my development box. My home laptop is set >> up the same way (I think) and the error I'm seeing doesn't happen on that >> box. >> >> When I end he edit session I'm getting: >> >> /usr/bin/eyaml edit common.eyaml >> [hiera-eyaml-core] cannot load such file -- >> hiera/backend/eyaml/encryptors/pks7 >> >> and losing my edits >> >> Looking through the system I find a directory: >> >> >> /opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.0.0/lib/hiera/backend >> >> Diggin >> deeper:/opt/puppetlabs/puppet/lib/ruby/vendor_gems/gems/hiera-eyaml-3.0.0/lib/hiera/backend/eyaml/encryptors/pkcs7.rb >> >> and more interestingly >> /usr/lib/ruby/vendor_ruby/hiera/backend/eyaml/encryptors/pkcs7.rb >> >> so... anybody have an idea why I'm seeing the error above? >> >> >> - >> >> Peter L. Berghold salty.cowd...@gmail.com >> >> http://devops.berghold.net >> >> >> -- >> 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/CAArvnv0U%3D%3DtzdN6Gq0dy6K6oRHONRpqKfzkXTZkTqHMWP_LX4w%40mail.gmail.com >> <https://groups.google.com/d/msgid/puppet-users/CAArvnv0U%3D%3DtzdN6Gq0dy6K6oRHONRpqKfzkXTZkTqHMWP_LX4w%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/CANwwCtxN-zN_SX6PhBC2%3DkqjMnEgAeT7kUg3-%2BHwLrfYWaxQig%40mail.gmail.com > <https://groups.google.com/d/msgid/puppet-users/CANwwCtxN-zN_SX6PhBC2%3DkqjMnEgAeT7kUg3-%2BHwLrfYWaxQig%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Peter L. Berghold salty.cowd...@gmail.com http://devops.berghold.net -- 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/CAArvnv15Gdmb941KsaQVRSaRKDP%2B3YJTtbitzAHxFM0_8bOsrA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.