paulbsd-salt/states/cds/install.sls
2021-08-19 21:15:24 +02:00

13 lines
471 B
Plaintext

---
{%- from "cds/map.jinja" import cds with context %}
cds-engine-install:
file.managed:
- name: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:engine:version') }}
- source: {{ cds.mirror }}/{{ cds.version }}/cds-engine-{{ salt['grains.get']('kernel')|lower }}-{{ salt['grains.get']('osarch') }}
- skip_verify: true
cds-bin-symlink:
file.symlink:
- name: /usr/bin/cds-engine
- target: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:version') }}