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