Merge branch 'digdag-install-java8' of kazu634/itamae into master
This commit is contained in:
commit
2e9bfb990e
|
@ -26,8 +26,12 @@ link '/usr/local/bin/digdag' do
|
||||||
end
|
end
|
||||||
|
|
||||||
# Install the Java Runtime:
|
# Install the Java Runtime:
|
||||||
%w(nkf default-jre).each do |p|
|
%w(nkf openjdk-8-jdk).each do |p|
|
||||||
package p do
|
package p do
|
||||||
action :install
|
action :install
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
execute 'update-java-alternatives -s java-1.8.0-openjdk-amd64' do
|
||||||
|
user 'root'
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue