added borgbackup script
This commit is contained in:
parent
8614c621c8
commit
b400ded2b7
7
salt/states/borgbackup.sls
Normal file
7
salt/states/borgbackup.sls
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Add borgbackup bash wrapper:
|
||||||
|
file.managed:
|
||||||
|
- name: {{ salt['user.info']( pillar['username'] ).home }}/bin/borg.sh
|
||||||
|
- source: salt://files/borg.sh
|
||||||
|
- user: {{ pillar['username'] }}
|
||||||
|
- group: users
|
||||||
|
- mode: "0755"
|
Loading…
Reference in New Issue
Block a user