From 78738ab80b36689f26df08c6332413d3ad46faaa Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 09:25:34 +0100 Subject: [PATCH] Use salt:// url for templates --- states/sway/init.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/states/sway/init.sls b/states/sway/init.sls index 4b04205..a134528 100644 --- a/states/sway/init.sls +++ b/states/sway/init.sls @@ -15,7 +15,7 @@ config dir: sway config: file.managed: - name: {{ grains['homedir'] }}/.config/sway/config - - source: {{ grains['stateroot'] }}/sway/files/config.jinja + - source: salt://sway/files/config.jinja - template: jinja - user: {{ grains['user']}} - group: {{ grains['user']}} @@ -24,7 +24,7 @@ sway config: lock script: file.managed: - name: {{ grains['homedir'] }}/.local/bin/lock.nosmartcard - - source: {{ grains['stateroot'] }}/sway/files/lock + - source: salt://sway/files/lock - template: jinja - user: {{ grains['user'] }} - group: {{ grains['user'] }} @@ -33,7 +33,7 @@ lock script: conky launch script: file.managed: - name: {{ grains['homedir'] }}/.local/bin/conky-i3bar - - source: {{ grains['stateroot'] }}/sway/files/conky-i3bar + - source: salt://sway/files/conky-i3bar - user: {{ grains['user'] }} - group: {{ grains['user'] }} - mode: 750 -- 2.46.2