- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Does the java cookbook work? FATAL: You must set the attributenode['java']['oracle']['accept_oracle_download_terms'] to true if you want to download directly from the oracle site!
- Date: Wed, 19 Feb 2014 08:48:48 -0800
On Tuesday, February 18, 2014 at 8:27 PM, David Montgomery wrote:
>
Does the java cookbook work?
>
>
>
>
I mean wow.....
>
>
yes....have set it to true I am looking it the line in attrbures in under
>
disbeleif tnat I get the below error. Event furtehr I went to hosted chef
>
console that it was set to true.
>
>
default['java']['install_flavor'] = "oracle"
>
default['java']['jdk_version'] = '7'
>
default['java']['oracle']['accept_oracle_download_terms'] = true
Where are you setting this? Can you confirm this code is getting evaluated?
You can also try including code like this in the recipe to see what the
values are. Put it right above the java_ark resource:
require 'pp'
pp node.debug_value(:java, :oracle)
>
>
>
>
>
and then why do I get this error?
>
>
162.243.106.71 * file[/etc/profile.d/jdk.sh] action create (up to date)
>
162.243.106.71 Recipe: java::oracle
>
162.243.106.71 * java_ark[jdk] action install[2014-02-18T23:16:37-05:00]
>
FATAL: You must set the attribute
>
node['java']['oracle']['accept_oracle_download_terms'] to true if you want
>
to download directly from the oracle site!
>
162.243.106.71
>
162.243.106.71
>
================================================================================
>
162.243.106.71 Error executing action `install` on resource 'java_ark[jdk]'
>
162.243.106.71
>
================================================================================
>
162.243.106.71
>
162.243.106.71
>
162.243.106.71 SystemExit
>
162.243.106.71 ----------
>
162.243.106.71 exit
HTH,
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.