itamae/cookbooks/embulk/attributes.rb

15 lines
514 B
Ruby
Raw Permalink Normal View History

2019-03-03 08:50:49 +00:00
# -------------------------------------------
# Specifying the default settings:
# -------------------------------------------
cmd = 'LANG=C /sbin/ifconfig | grep "inet addr" | grep -v 127.0.0.1 | awk "{print $2;}" | cut -d: -f2 | cut -f 1 -d " " | tail -1'
ipaddr = run_command(cmd).stdout.chomp
node.reverse_merge!({
'embulk' => {
2021-06-19 11:14:45 +00:00
'base_binary_url' => 'https://github.com/embulk/embulk/releases/download/v',
'version' => '0.9.24',
2019-03-03 08:50:49 +00:00
'extension' => '.jar',
'install_path' => '/opt/embulk'
}
})