Update Usage documentation

This commit is contained in:
Carlos Álvaro
2019-01-22 20:36:34 +01:00
parent dedd4aef2d
commit 5dc5fdfc3b

View File

@@ -236,16 +236,16 @@ docker run --name salt_master -d \
## Usage
To test which salt minions are listening the following command can be executed from the master service:
To test which salt minions are listening the following command can be executed directly from the host machine:
```sh
docker-compose exec master salt '*' test.ping
docker exec -it salt_master salt '*' test.ping
```
Then, you can apply salt states to your minions:
```sh
docker-compose exec master salt '*' state.apply
docker exec -it salt_master salt '*' state.apply [state]
```
## Shell Access