For those following along at home, 0.5.rc1 has been pushed to rubygems and
can be installed with `gem install hiera-eyaml-gpg --pre` or `puppetserver
gem install hiera-eyaml-gpg --pre` :D

Thanks raphink!



-Hunter

On Mon, Feb 16, 2015 at 1:54 AM, Raphink <raph...@gmail.com> wrote:

> For the record, I've decided to port the code to ruby_gpg when running
> inside the Puppetserver.
>
> The PR is at https://github.com/sihil/hiera-eyaml-gpg/pull/24
>
>
>
>
> On Thursday, February 12, 2015 at 3:22:48 PM UTC+1, Raphink wrote:
>>
>> 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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/2fc439d9-1d47-427d-baa3-3faaed686554%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/2fc439d9-1d47-427d-baa3-3faaed686554%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/CAJaQvGD-zpZopRgQorTMV1dWuZu83Jr%3DsbKVs6_Ky_VwAHREvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to