[chef] Re: Re: Re: Java cookbook error on OSX


Chronological Thread 
  • From: Mukta A < >
  • To:
  • Subject: [chef] Re: Re: Re: Java cookbook error on OSX
  • Date: Tue, 11 Nov 2014 09:10:15 +0530

Thanks.
I will try out the cookbook suggested by Julian. I am trying to install IntelliJ using Chef so would have to make some more changes.

On 11 November 2014 05:18, Julian C. Dunn < " target="_blank"> > wrote:
On Mon, Nov 10, 2014 at 1:05 PM, Joshua Timberman < "> > wrote:

> However, it's worth noting that the java cookbook does not support OS X for
> Java installation at this time. Since Apple makes Java installation
> available through their own means[0], I don't know that it would be in scope
> to attempt to support it using the "package" resource.

That's correct, the Java cookbook does not support OS X as a platform
because the installation mechanism is so different.

I've attempted to automate Mac Java installs in Chef before, so this
code might be of interest to you. I can't guarantee that it still
works as it's about a year old and Apple changes things all the time.

https://github.com/chef-osx/macapps/blob/master/recipes/java.rb

- Julian

--
[ Julian C. Dunn < "> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]




Archive powered by MHonArc 2.6.16.

§