From 51cc1e1319fc212b04000285d8d424aa13556e82 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 10 Aug 2020 14:28:22 +0200 Subject: [PATCH] moved borg.sh from salt to dotf file --- {salt/states/files => bin}/borg.sh | 0 salt/states/borgbackup.sls | 7 ------- salt/states/top.sls | 1 - 3 files changed, 8 deletions(-) rename {salt/states/files => bin}/borg.sh (100%) delete mode 100644 salt/states/borgbackup.sls diff --git a/salt/states/files/borg.sh b/bin/borg.sh similarity index 100% rename from salt/states/files/borg.sh rename to bin/borg.sh diff --git a/salt/states/borgbackup.sls b/salt/states/borgbackup.sls deleted file mode 100644 index a86b5fe..0000000 --- a/salt/states/borgbackup.sls +++ /dev/null @@ -1,7 +0,0 @@ -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" diff --git a/salt/states/top.sls b/salt/states/top.sls index 1fdd93e..b687400 100644 --- a/salt/states/top.sls +++ b/salt/states/top.sls @@ -5,5 +5,4 @@ base: - gbt - vim - firefox - - borgbackup - sudo