I think that the problem is a mismatch between the version of Chef you
are using (10.14.2) and the
The implementation of the
java_ark resource provider on the
cookbook is attempting to use the
header method of the Chef
remote_file resource when it downloads the Oracle installer.
The problem is that the
header method was only implemented on
remote_file resource in Chef 11.6.0 (by my reading of the
chef source code on Github).
The solution is to either upgrade to the latest version of Chef, or use
an older version of the
java cookbook that works with Chef
10.x. (The latter is probably a bad idea ... unless you are prepared to
manually set the latest Oracle download URL and checksum in the relevant