Sha256: b6c42369db824d30f968fec38ff65d3ec6278477b9ebfa5afe1edd96a750dc04

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

package "unzip"

zip_name = "consul_#{node[:consul][:version]}_linux_amd64.zip"

http_request "#{node[:consul][:src_dir]}/#{zip_name}" do
  url "https://releases.hashicorp.com/consul/#{node[:consul][:version]}/#{zip_name}"
end

execute "unzip #{node[:consul][:src_dir]}/#{zip_name} -d #{node[:consul][:bin_dir]}" do
  not_if "#{node[:consul][:bin_dir]}/consul --version | grep #{node[:consul][:version]}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itamae-plugin-recipe-consul-0.1.0.beta1 lib/itamae/plugin/recipe/consul/download.rb