-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigurationdetails.txt
40 lines (31 loc) · 1.14 KB
/
Configurationdetails.txt
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
33
34
35
36
37
38
39
40
Make this changes in /etc/salt/master which is the configuration file of salt master
# The address of the interface to bind to:
interface: your_master_machine's_IP (eg : 192.100.11.10)
# modified files cause conflicts, set verify_env to False.
user: root (necessary for eauth to function)
# The external auth system uses the Salt auth modules to authenticate and
# validate users to access areas of the Salt system.
external_auth:
pam:
user1:
- .*
- '@runner'
- '@wheel'
- '@jobs'
rest_cherrypy:
port: 8000 (port of your choice)
disable_ssl: True
netapi_enable_clients:
- local
- local_async
- runner
- wheel
Make this changes in /etc/salt/minion which is the configuration file of salt minion
# resolved, then the minion will fail to start.
master: your_master's_IP_address
# same machine but with different ids, this can be useful for salt compute
# clusters.
id: Minion1 (give your Minion name for ease)
Documentations referred :
https://docs.saltproject.io/en/latest/ref/netapi/all/salt.netapi.rest_cherrypy.html
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.schedule.html