paulbsd-salt/states/cds/install.sls

13 lines
471 B
Plaintext
Raw Permalink 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
2021-08-19 21:15:24 +02:00
- target: /usr/bin/cds-engine-{{ salt['pillar.get']('cds:version') }}