--- {%- from "vim/map.jinja" import vim with context %} vim-vimrc-local: file.managed: - name: /etc/vim/vimrc.local - source: salt://vim/templates/vimrc.j2 - user: root - group: root - mode: 0644 - template: jinja - require: - pkg: vim-pkg