paulbsd-salt/states/cds/install.sls

12 lines
470 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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') }}
2020-09-12 17:41:35 +02:00
- skip_verify: true
2020-07-10 00:58:55 +02:00
cds-bin-symlink:
file.symlink:
- name: /usr/bin/cds-engine
- target: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:version') }}