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!({
|
node.reverse_merge!({
|
||||||
'embulk' => {
|
'embulk' => {
|
||||||
'base_binary_url' => 'https://github.com/embulk/embulk/releases/download/v',
|
'base_binary_url' => 'https://github.com/embulk/embulk/releases/download/v',
|
||||||
'version' => '0.9.23',
|
'version' => '0.9.24',
|
||||||
'extension' => '.jar',
|
'extension' => '.jar',
|
||||||
'install_path' => '/opt/embulk'
|
'install_path' => '/opt/embulk'
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,13 @@ link '/usr/local/bin/embulk' do
|
||||||
force true
|
force true
|
||||||
end
|
end
|
||||||
|
|
||||||
package 'default-jre' do
|
case node['platform_version'].to_f
|
||||||
|
when 22.04
|
||||||
|
package 'openjdk-8-jre' do
|
||||||
action :install
|
action :install
|
||||||
|
end
|
||||||
|
else
|
||||||
|
package 'default-jre' do
|
||||||
|
action :install
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue