2020-08-01 12:53:37 +00:00
|
|
|
{% for plugin, args in pillar['vim']['plugins'].items() %}
|
2020-07-31 13:12:20 +00:00
|
|
|
{{ plugin }}:
|
|
|
|
git.latest:
|
|
|
|
- name: {{ args['name'] }}
|
2020-08-01 12:53:37 +00:00
|
|
|
- target: {{ salt['user.info']( pillar['username'] ).home }}/.vim/bundle/{{ plugin }}
|
|
|
|
- user: {{ pillar['username'] }}
|
2020-07-31 13:12:20 +00:00
|
|
|
{% endfor %}
|