base: '*': - user - packages - repositories - vim {% if salt['file.file_exists']('hosts/{0}.sls'.format(grains.id)) %} '{{ grains.id }}': - hosts.{{ grains.id }} {% endif %}