paulbsd-salt/states/qrz/install.sls

21 lines
651 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- from "qrz/map.jinja" import qrz with context %}
qrz-archive-extract:
archive.extracted:
- name: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
- source: {{ qrz.mirror }}/{{ qrz.version }}/qrz-{{ qrz.version }}-{{ qrz.os }}-{{ qrz.arch }}.tar.gz
2020-09-12 17:41:35 +02:00
- skip_verify: true
- enforce_toplevel: false
2020-07-10 00:58:55 +02:00
- if_missing: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
- watch_in:
- service: qrz-service
qrz-binary-symlink:
file.symlink:
- name: {{ qrz.install_dir }}/qrz
- target: {{ qrz.release_dir }}/qrz-{{ qrz.version }}
- require:
- archive: qrz-archive-extract
- watch_in:
2021-08-19 21:15:24 +02:00
- service: qrz-service