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