This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
34 lines (29 loc) · 1.53 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
up:
@echo "======================================================================"
@echo "Build SaltStack configuration files from template"
@echo "======================================================================"
python generate_saltstack_configuration.py
ls saltstack_configuration -l
@echo "======================================================================"
@echo "Start all containers"
@echo "======================================================================"
docker-compose up -d
@echo "======================================================================"
@echo "Start SaltStack daemons"
@echo "======================================================================"
python start_saltstack.py
down:
@echo "======================================================================"
@echo "stop docker containers, remove docker containers, remove docker networks"
@echo "======================================================================"
docker-compose -f ./docker-compose.yml down
master-cli:
@echo "======================================================================"
@echo "start a shell session in the saltstack master container"
@echo "======================================================================"
docker exec -i -t master bash
minion-cli:
@echo "======================================================================"
@echo "start a shell session in the saltstack minion container"
@echo "======================================================================"
docker exec -i -t minion1 bash