Merge branch 'digdag-install-java8' of kazu634/itamae into master

This commit is contained in:
Kazuhiro MUSASHI 2019-08-10 20:02:02 +09:00 committed by Gitea
commit 2e9bfb990e
1 changed files with 5 additions and 1 deletions

View File

@ -26,8 +26,12 @@ link '/usr/local/bin/digdag' do
end
# Install the Java Runtime:
%w(nkf default-jre).each do |p|
%w(nkf openjdk-8-jdk).each do |p|
package p do
action :install
end
end
execute 'update-java-alternatives -s java-1.8.0-openjdk-amd64' do
user 'root'
end