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"