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