Merge pull request 'Ubuntu 22.04にembulkをインストールする' (#14) from embulk-installation-for-jammy into master
Reviewed-on: #14
This commit is contained in:
commit
efb354244a
|
@ -7,7 +7,7 @@ ipaddr = run_command(cmd).stdout.chomp
|
|||
node.reverse_merge!({
|
||||
'embulk' => {
|
||||
'base_binary_url' => 'https://github.com/embulk/embulk/releases/download/v',
|
||||
'version' => '0.9.23',
|
||||
'version' => '0.9.24',
|
||||
'extension' => '.jar',
|
||||
'install_path' => '/opt/embulk'
|
||||
}
|
||||
|
|
|
@ -25,6 +25,13 @@ link '/usr/local/bin/embulk' do
|
|||
force true
|
||||
end
|
||||
|
||||
case node['platform_version'].to_f
|
||||
when 22.04
|
||||
package 'openjdk-8-jre' do
|
||||
action :install
|
||||
end
|
||||
else
|
||||
package 'default-jre' do
|
||||
action :install
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue