We use the Java cookbook all the time, and this, in your cookbook’s attributes/default.rb should be sufficient (works well for us): default['java']['install_flavor'] = 'oracle' default['java']['jdk_version'] = '7' default['java']['oracle']['accept_oracle_download_terms'] = true You’ll need to also include_recipe 'java' in your recipe somewhere as well, but that’s all that should be needed. Of course, change the values to suit, and you don’t need the node['java']['oracle'][‘accept_oracle_download_terms'] attribute if you’re not using Oracle’s JDK. This is how the Java cookbook is designed to work, and we have no trouble at all using it this way. On January 13, 2015 at 9:15:30 PM, Greg Barker ( "> ) wrote:
|
Archive powered by MHonArc 2.6.16.