Update Usage documentation
This commit is contained in:
@@ -236,16 +236,16 @@ docker run --name salt_master -d \
|
|||||||
|
|
||||||
## Usage
|
## 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
|
```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:
|
Then, you can apply salt states to your minions:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker-compose exec master salt '*' state.apply
|
docker exec -it salt_master salt '*' state.apply [state]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Shell Access
|
## Shell Access
|
||||||
|
|||||||
Reference in New Issue
Block a user