Vendor the external cookbooks
Knife-Zero doesn't include Berkshelf support, so vendoring everything in the repo is convenient again
This commit is contained in:
6
cookbooks/java/templates/adoptopenjdk.jinfo.erb
Normal file
6
cookbooks/java/templates/adoptopenjdk.jinfo.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
name=<%= @name %>
|
||||
priority=<%= @priority %>
|
||||
section=main
|
||||
|
||||
<% @bin_cmds.each do |cmd| -%>jdk <%= cmd %> <%= @app_dir %>/bin/<%= cmd %>
|
||||
<% end -%>
|
||||
@@ -0,0 +1,4 @@
|
||||
LICENSE_ACCEPTED=<%= node['java']['accept_license_agreement'] %>
|
||||
INSTALLER_UI=silent
|
||||
USER_INSTALL_DIR=<%= node['java']['java_home'] %>
|
||||
-fileOverwrite_<%= node['java']['java_home'] %>_uninstall/uninstall.lax=Yes
|
||||
1
cookbooks/java/templates/jdk.sh.erb
Normal file
1
cookbooks/java/templates/jdk.sh.erb
Normal file
@@ -0,0 +1 @@
|
||||
export JAVA_HOME=<%= node['java']['java_home']%>
|
||||
6
cookbooks/java/templates/oracle.jinfo.erb
Normal file
6
cookbooks/java/templates/oracle.jinfo.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
name=<%= @name %>
|
||||
priority=<%= @priority %>
|
||||
section=main
|
||||
|
||||
<% @bin_cmds.each do |cmd| -%>jdk <%= cmd %> <%= @app_dir %>/bin/<%= cmd %>
|
||||
<% end -%>
|
||||
Reference in New Issue
Block a user