]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Use salt:// url for vim config file
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 6 Aug 2019 08:30:35 +0000 (09:30 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 6 Aug 2019 08:30:35 +0000 (09:30 +0100)
states/vim/init.sls

index 004cadf3652aa7859789891c1b4788ac6413e4a3..c2a888f8e9e17463844405831082fac5d24f1088 100644 (file)
@@ -1,7 +1,7 @@
 vimrc:
   file.managed:
     - name: {{ grains['homedir'] }}/.vimrc
-    - source: {{ grains['stateroot'] }}/vim/files/vimrc
+    - source: salt:///vim/files/vimrc
     - user: {{ grains['user'] }}
     - group: {{ grains['user'] }}
     - mode: 640