Hello,
I'm trying to use hiera-eyaml-gpg with the puppetserver.
I've tried installing it with:
sudo -u puppet puppetserver gem install hiera-eyaml-gpg
where puppet is the user running the puppetserver.
However, it fails to compile the native gpgme gem:
Building native extensions. This could take a while...
ERROR: Error installing hiera-eyaml-gpg:
ERROR: Failed to build gem native extension.
java -jar /usr/share/puppetserver/puppet-server-release.jar extconf.rb
Exception in thread "main" java.lang.IllegalStateException: Unable to find bootstrap.cfg file via --bootstrap-config command line argument, current working directory, or on classpath
at puppetlabs.trapperkeeper.bootstrap$find_bootstrap_config.invoke(bootstrap.clj:141)
at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:113)
at puppetlabs.trapperkeeper.core$run.invoke(core.clj:144)
at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.lang.Var.invoke(Var.java:415)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:532)
at clojure.core$apply.invoke(core.clj:617)
at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at puppetlabs.trapperkeeper.main.main(Unknown Source)
Gem files will remain installed in /var/lib/puppet/jruby-gems/gems/gpgme-2.0.8 for inspection.
Results logged to /var/lib/puppet/jruby-gems/gems/gpgme-2.0.8/ext/gpgme/gem_make.out
Is there a way to install native gems inside the Puppetserver to use this functionality? What am I missing?
Cheers,
Raphaël