Well, this is weird.Someone else replied before Eric and now that reply has disappeared. His suggestion, well I was going to follow it, and it's gone poof. Where did it go?I'm confused. The java cookbook in one place says if you want the oracle java to include the 'oracle' recipe. Further down, it says to use attributes. Which is it?
It's also not clear now, and never has been, if setting default['java']['install_flavor'] = 'oracle' in my wrapper cookbook will have an effect on a cookbook two levels away in the stack. Ie if I have A -> B -> C and cookbook A has default['java']['install_flavor'] = 'oracle'... will that affect how cookbook B operates?Doug.
--On Wed, Dec 10, 2014 at 1:06 PM, Eric Helgeson < " target="_blank"> > wrote:Yep, you can, take a look at the examples in the readme - https://github.com/agileorbit-cookbooks/java/#examplesJust override some attributes and it will install that version.Also be sure to mirror the oracle binary locally in production, as downloading directly can be troublesome at timesĀ https://github.com/agileorbit-cookbooks/java#production-deployment-with-oracle-java-EricOn Wed Dec 10 2014 at 2:32:05 PM Douglas Garstang < " target="_blank"> > wrote:It installs the OpenJDK. It doesn't seem to have a facility to change that to the Oracle JDK. I look a look inside the tomcat recipe and yep, it's got:
include_recipe "java"The java cookbook can install the Oracle JDK, but the defaut installs the OpenJDK. Is there a way I can override this without modifying the java or tomcat cookbooks?
DougRegards,
Douglas Garstang
http://www.linkedin.com/in/garstang
Email: " target="_blank">
Cell: +1-805-340-5627
Archive powered by MHonArc 2.6.16.