From becba2f733451f4dab119c3eed32121a74b66140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Seux?= Date: Thu, 6 Oct 2016 18:27:16 +0200 Subject: [PATCH] Proper use of poise_archive Otherwise /opt/consul/$version/ is empty and nothing works. Change-Id: Id20ffe7a0892e4af7a2a2cb0bcf142b3fb505ed5 --- 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 de49b1fb..1082a606 100644 --- a/libraries/consul_installation_binary.rb +++ b/libraries/consul_installation_binary.rb @@ -51,6 +51,7 @@ def action_create poise_archive url do destination join_path(options[:extract_to], new_resource.version) source_properties checksum: options[:archive_checksum] + strip_components 0 not_if { ::File.exist?(consul_program) } end