From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 08:30:35 +0000 (+0100) Subject: Use salt:// url for vim config file X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=0eabdc821658dd760ec481fa9f0955659e623ac4;p=max%2Fsaltfiles.git Use salt:// url for vim config file --- diff --git a/states/vim/init.sls b/states/vim/init.sls index 004cadf..c2a888f 100644 --- a/states/vim/init.sls +++ b/states/vim/init.sls @@ -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