https://github.com/puppetlabs/puppet-server/blob/master/documentation/gems.markdown#gems-with-native-c-extensions
 
apparently answers my question, so I'm looking to port hiera-eyaml-gpg to a 
pure ruby module now.

On Thursday, February 12, 2015 at 12:17:41 PM UTC+1, Raphink wrote:
>
> 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
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1f463563-1a20-4c69-8ab3-77b64df0f88b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to