lib/itamae/plugin/recipe/consul/install.rb in itamae-plugin-recipe-consul-0.1.3 vs lib/itamae/plugin/recipe/consul/install.rb in itamae-plugin-recipe-consul-0.1.4

- old
+ new

@@ -5,8 +5,8 @@ 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 +execute "unzip -o #{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