virtualmanager
There is a module that is sync with pillars and every extra file that haven't been made made by saltstack would be vanish. If you want to change it logicaly. Keep in mind that you should follow some orders
-salt '*' saltutil.clear_cache
- salt '*' saltutil.sync_all
- salt target virtualmanager.delete_virtual_host
delete_virtual_host
This is the name of function that we used in our python module
salt target virtualmanager.delete_virtual_host