From cb45c691d49e8afcad75ed5ad1cc88f25eb50a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Seux?= Date: Fri, 7 Oct 2016 12:37:49 +0200 Subject: [PATCH] Avoid creating broken link on windows Change-Id: I45ae9496ab01f2430d056af9b084d0c9e7a91564 --- libraries/consul_installation_binary.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/consul_installation_binary.rb b/libraries/consul_installation_binary.rb index 1082a606..f7822729 100644 --- a/libraries/consul_installation_binary.rb +++ b/libraries/consul_installation_binary.rb @@ -57,6 +57,7 @@ def action_create link '/usr/local/bin/consul' do to ::File.join(options[:extract_to], new_resource.version, 'consul') + not_if { windows? } end end end