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