Chapter 4
Introducing salt-call
salt-call invokes Salt locally.
4.1 Starting at the End
Setup to Follow Along
Once your classroom VM is available connect using SSH.
1vagrant ssh
This VM is preloaded with a Salt configuration to build this server into a simple web server consisting of nginx serving a simple static website form /var/www/html.
Run Salt locally on this server using:
1sudo salt-call state.highstate
This command will take a while to run, during which nothing will appear to happen. On completion you will see results dumped to the screen.
On your host computer, open a web browser and visit http://localhost:35555. You will see a simple web site being served from the VM.