From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 08:25:34 +0000 (+0100) Subject: Use salt:// url for templates X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=78738ab80b36689f26df08c6332413d3ad46faaa;p=max%2Fsaltfiles.git Use salt:// url for templates --- 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