Hello,
I configured hiera like this:
---
:backends:
- eyaml
:eyaml:
:datadir: '/etc/puppet/hieradata'
:extension: 'yaml'
:gpg_gnupghome: /vagrant/keyrings/live
:hierarchy:
- "fqdn/%{fqdn}"
- "os/%{osfamily}"
- common
:logger: console
And I manage to get Vagrant to execute puppet with eyaml inside the Vagrant box and eyaml finds the hiera data, but it fails on access my private key inside the Vagrant box.
My question now is:
1. How do others manage to use eyaml inside Vagrant?
3. Should I instead import my private gpg key into the Vagrant box using a shell provisioner?
Thanks.