This commit is contained in:
root
2020-05-09 13:50:53 -04:00
parent fc2ea8f76b
commit 94cf5ca183
5 changed files with 23 additions and 4 deletions

7
restic/client.sls Normal file
View File

@@ -0,0 +1,7 @@
{% from "restic/map.jinja" import url with context %}
'download restic':
cmd.run:
- name: 'wget {{url}} -O - | bzip2 -cd > /bin/restic ; chmod +x /bin/restic'
- unless: stat /bin/restic