{% for plugin, args in pillar['vim']['plugins'].items() %} {{ plugin }}: git.latest: - name: {{ args['name'] }} - target: {{ salt['user.info']( pillar['username'] ).home }}/.vim/bundle/{{ plugin }} - user: {{ pillar['username'] }} {% endfor %}