This server was a masterless server before. I moved /etc/salt
to a backup folder just in case.
I uninstalled salt package this way based on http://installion.co.uk/ubuntu/vivid/universe/s/salt-minion/uninstall/index.html
sudo apt-get remove --auto-remove salt-minion
sudo apt-get purge --auto-remove salt-minion