Merge pull request #17 from cmclaughlin/dl-url
Download URL configurable via pillar
This commit is contained in:
commit
e8270ff1b8
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
consul:
|
||||
version: 0.7.0
|
||||
hash: b350591af10d7d23514ebaa0565638539900cdb3aaa048f077217c4c46653dd8
|
||||
download_host: releases.hashicorp.com
|
||||
|
||||
service: false
|
||||
config:
|
||||
|
|
|
@ -46,7 +46,7 @@ consul-data-dir:
|
|||
consul-download:
|
||||
file.managed:
|
||||
- name: /tmp/consul_{{ consul.version }}_linux_amd64.zip
|
||||
- source: https://releases.hashicorp.com/consul/{{ consul.version }}/consul_{{ consul.version }}_linux_amd64.zip
|
||||
- source: https://{{ consul.download_host }}/consul/{{ consul.version }}/consul_{{ consul.version }}_linux_amd64.zip
|
||||
- source_hash: sha256={{ consul.hash }}
|
||||
- unless: test -f /usr/local/bin/consul-{{ consul.version }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue