Extract file

This commit is contained in:
Bahadır Kandemir 2015-10-22 17:15:24 +03:00
parent 19ba774256
commit aa30374be6

View file

@ -27,7 +27,7 @@ consul_ui_download:
- pkg: unzip - pkg: unzip
consul_template_download: consul_template_download:
file.managed: archive.extracted:
- name: /usr/local/bin/consul-template - name: /usr/local/bin/consul-template
- source: https://github.com/hashicorp/consul-template/releases/download/v0.11.0/consul_template_0.11.0_linux_{{ salt['grains.get']('osarch', '386') }}.zip - source: https://github.com/hashicorp/consul-template/releases/download/v0.11.0/consul_template_0.11.0_linux_{{ salt['grains.get']('osarch', '386') }}.zip
{% if salt['grains.get']('osarch', '386') == 'amd64' %} {% if salt['grains.get']('osarch', '386') == 'amd64' %}