I wanted to use Saltsatck to manage my /etc/hosts file. Therefore I create /srv/pillar/hostsfile.sls and linked this at /srv/pillar/top.sls.
I also created a mine.sls