Change the download URL.
This commit is contained in:
parent
c735b2128e
commit
8dadc5e2fd
|
@ -5,13 +5,11 @@ directory node['embulk']['install_path'] do
|
||||||
mode '755'
|
mode '755'
|
||||||
end
|
end
|
||||||
|
|
||||||
URL = "#{node['embulk']['base_binary_url']}#{node['embulk']['version']}#{node['embulk']['extension']}"
|
URL = "#{node['embulk']['base_binary_url']}#{node['embulk']['version']}/embulk-#{node['embulk']['version']}#{node['embulk']['extension']}"
|
||||||
TARGET = "#{node['embulk']['install_path']}/embulk"
|
TARGET = "#{node['embulk']['install_path']}/embulk"
|
||||||
|
|
||||||
# Download and install:
|
# Download and install:
|
||||||
execute "wget #{URL} -O #{TARGET}" do
|
execute "wget #{URL} -O #{TARGET}"
|
||||||
not_if "test -e #{TARGET}"
|
|
||||||
end
|
|
||||||
|
|
||||||
file TARGET do
|
file TARGET do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
|
|
Loading…
Reference in New Issue