1 Notes about vagrant-salt usage
2 ==============================
7 * https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html
8 Salt masterless quickstart
18 * Start a VM using libvirt provider instead of VirtualBox::
20 vagrant up --provider=libvirt
31 * Apply salt configuration (in an SSH session)::
33 sudo salt-call --local state.highstate
35 * Apply a specfic .sls file::
37 sudo salt-call --local state.sls common.packages
39 * List the current grains::
41 sudo salt-call --local grains.ls
42 sudo salt-call --local grains.items
44 * List the current pillar items::
46 sudo salt-call --local pillar.items
49 Random notes during the development of the project
50 --------------------------------------------------
52 * Architecture: a test VM is installed with a fully functionnal mailing system. It is connected to a `gateway` VM which filters almost everything:
54 - HTTP communications are forwarded (to allow installing packets)
55 - emails are never forwarded but stored on the VM
56 - every other TCP and UDP ports are filtered