From c35abbe38700d4320f1afebb28ee028106d47135 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 6 May 2019 15:33:04 -0400 Subject: [PATCH] Fix consul-download state missing actual binary --- consul/install.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/install.sls b/consul/install.sls index 180727e..8c3b2d1 100644 --- a/consul/install.sls +++ b/consul/install.sls @@ -54,7 +54,7 @@ consul-download: - name: /tmp/consul_{{ consul.version }}_linux_{{ consul.arch }}.zip - source: https://{{ consul.download_host }}/consul/{{ consul.version }}/consul_{{ consul.version }}_linux_{{ consul.arch }}.zip - source_hash: https://releases.hashicorp.com/consul/{{ consul.version }}/consul_{{ consul.version }}_SHA256SUMS - - unless: test -f {{ consul.bin_dir }}-{{ consul.version }} + - unless: test -f {{ consul.bin_dir }}/consul-{{ consul.version }} consul-extract: cmd.wait: