On 20/05/09 18:37, Tom Santos wrote:
> I just checked up on this bug and it looks like they checked in a fix
> on May 11.  I don't know if it fixes your Puppet woes but I was
> thinking of trying to run Puppet with JRuby myself (and haven't got
> around to it yet).  Here's the JRuby git repo, if you want to try it
> out:
> 
> git://github.com/jruby/jruby.git

Yes, I know since I started the whole thing :-)

If you try you'll soon end with the same issues I got, namely:

  * more fcntl glitches (it appears Jruby doesn't implement completely 
fcntl, and the part which is implemented is wrong. I have a JRuby dirty 
patch for this issue, so when I'll have time to clean it up, I'll submit 
it upstream).

  * jruby openssl doesn't support certs with serial = 0 (I have yet to 
send a Puppet patch for this)

  * then the next issue (which I didn't solve yet) is a strange ssl 
errors, which I'm copying here for reference:
info: Creating a new SSL key for ca
info: Creating a new SSL certificate request for ca
notice: Signed certificate request for ca
notice: Rebuilding inventory file
err: Cached certificate for ca failed:
2.5.29.14 = à«Do);r›qÿÑ´Èõj«î: illegal hex
digit
/Users/brice/devl/puppet/lib/puppet/ssl/base.rb:42:in `read': 2.5.29.14 =
à«Do);r›qÿÑ´Èõj«î: illegal hex digit
(OpenSSL::X509::ExtensionError)
        from /Users/brice/devl/puppet/lib/puppet/indirector/ssl_file.rb:86:in
`find'
        from
/Users/brice/devl/puppet/lib/puppet/indirector/indirection.rb:197:in `find'
        from /Users/brice/devl/puppet/lib/puppet/indirector.rb:51:in `find'
        from /Users/brice/devl/puppet/lib/puppet/ssl/host.rb:175:in 
`certificate'
        from
/Users/brice/devl/puppet/lib/puppet/ssl/certificate_authority.rb:98:in `crl'
        from
/Users/brice/devl/puppet/lib/puppet/ssl/certificate_authority.rb:136:in
`generate_ca_certificate'
        from
/Users/brice/devl/puppet/lib/puppet/ssl/certificate_authority.rb:233:in
`setup'
        from
/Users/brice/devl/puppet/lib/puppet/ssl/certificate_authority.rb:146:in
`initialize'
        from
/Users/brice/devl/puppet/lib/puppet/ssl/certificate_authority.rb:23:in
`init_singleton_instance'
        from /Users/brice/devl/puppet/lib/puppet/util/cacher.rb:92:in
`cached_value'
        from /Users/brice/devl/puppet/lib/puppet/util/cacher.rb:48:in
`singleton_instance'
        from
/Users/brice/devl/puppet/lib/puppet/ssl/certificate_authority.rb:37:in
`instance'
        from
/Users/brice/devl/puppet/lib/puppet/application/puppetmasterd.rb:125:in
`run_setup'
        from /Users/brice/devl/puppet/lib/puppet/application.rb:216:in `run'
        from sbin/puppetmasterd:66

Note the strange binary thing is not a copy/paste or encoding error, 
it's what appeared on my terminal in my last attempt.

That's where I stopped. I think I'll continue the tests tomorrow or so, 
and I'll keep the list posted. Meanwhile if you find anything 
interesting, let us know :-)
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to