[chef-dev] jruby


Chronological Thread 
  • From: Laurent Desarmes < >
  • To:
  • Subject: [chef-dev] jruby
  • Date: Tue, 01 May 2012 12:52:49 +0200

Bryan Berry 
< >
 writes:

> big, big +1 for better support on jruby, though I have no idea of the
> technical challenges

I'd also love to have support for jruby.
I've written a cookbook with its LWRP that requires "java" and use a
java SDK.
I've been using it nearly a year with jchef-solo.
shef, some commands of knife and some plugins of ohai also work.

The ohai hostname plugin does use fork and fails to set fqdn.
chef doesn't like it, quick workarounds :
- shef -j attribute.file.json with a fqdn: "my.fqdn" attribute
- chef-solo -N my.fqdn

In the past I was running jruby with -J-Djava.net.preferIPv4Stack=true
but it looks it's not relevant anymore. (was preventing a long delay
during startup)

-- 
Laurent


  • [chef-dev] jruby, Laurent Desarmes, 05/01/2012

Archive powered by MHonArc 2.6.16.

§