Running handlers:
[2018-05-25T10:47:29+00:00] ERROR: Running exception handlers
Running handlers complete
[2018-05-25T10:47:29+00:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 07 seconds
[2018-05-25T10:47:29+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2018-05-25T10:47:29+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-05-25T10:47:29+00:00] ERROR: template[/etc/profile.d/jdk.sh] (java::set_java_home line 23) had an error: Chef::Exceptions::FileNotFound: Cookbook 'java' (2.0.1) does not contain a file at any of these locations:
templates/centos-7.5.1804/jdk.sh.erb
templates/centos/jdk.sh.erb
templates/default/jdk.sh.erb
templates/jdk.sh.erb
[2018-05-25T10:47:29+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
================================================================================ Error executing action
create
on resource 'template[/etc/profile.d/jdk.sh]'[2018-05-25T10:47:29+00:00] INFO: Running queued delayed notifications before re-raising exception chef-client --version Chef: 12.8.1
Running handlers: [2018-05-25T10:47:29+00:00] ERROR: Running exception handlers Running handlers complete [2018-05-25T10:47:29+00:00] ERROR: Exception handlers complete Chef Client failed. 2 resources updated in 07 seconds [2018-05-25T10:47:29+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out [2018-05-25T10:47:29+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2018-05-25T10:47:29+00:00] ERROR: template[/etc/profile.d/jdk.sh] (java::set_java_home line 23) had an error: Chef::Exceptions::FileNotFound: Cookbook 'java' (2.0.1) does not contain a file at any of these locations: templates/centos-7.5.1804/jdk.sh.erb templates/centos/jdk.sh.erb templates/default/jdk.sh.erb templates/jdk.sh.erb [2018-05-25T10:47:29+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)