Création

This commit is contained in:
Iwan Clément
2019-03-03 19:12:38 +01:00
parent 75e1053a9b
commit 1a434238e4

16
softwares/veracrypt.sls Normal file
View File

@@ -0,0 +1,16 @@
{% if grains['kernel'] == 'Linux' %}
{% set VERA_VERSION = '1.23' %}
{% set VERA_HASH = 'https://launchpad.net/veracrypt/trunk/' + VERA_VERSION + '/+download/veracrypt-1.23-setup.tar.bz2.sig' %}
{% set VERA-URL='https://launchpad.net/veracrypt/trunk/' + VERA_VERSION + '/+download/veracrypt-1.23-setup.tar.bz2' %}
'veracrypt-{{VERA_VERSION}}_copy':
file.managed:
- source: {{VERA_URL}}
- source_hash: {{VERA_HASH}}
- name : "/tmp/veracrypt-setup.tar.bz2"
- user: root
- group: root
- mode: 755
{% endif %}