-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathminion
65 lines (54 loc) · 1.54 KB
/
minion
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
id: asterisk
# Masterless configuration
master_type: disable
# Comment above and uncomment below to enable master setup for webhooks.
# master: 127.0.0.1
# Path to Asterisk Salt engines and modules.
extension_modules: /etc/salt/extensions
# By default it is True and salt removes all contents
# of extension_modules folder after caching and this is not our case!
clean_dynamic_modules: False
# Fileserver settings
file_client: local
file_roots:
base:
- /etc/salt/roots
pillar_roots:
base:
- /etc/salt/pillar
# Salt minion engines.
engines:
- reactor:
- asterisk_ami
#- asterisk_cli:
# listen_address: 0.0.0.0
# listen_port: 30000
# asterisk_binary: /usr/sbin/asterisk
# asterisk_options: -vvvvvr
# Make logging a look more pretty and useful.
log_fmt_console: '%(asctime)s - %(name)s:%(lineno)s - %(levelname)s - %(message)s'
# Reactor settings
reactor_niceness: 9
reactor:
- 'AMI/*':
- salt://reactor/ami_events.sls
# The legacy style will no longer be available starting in the Sodium release
use_superseded:
- module.run
# Execute startup states to create iptables & ipset rules.
startup_states: sls
sls_list:
- security
# asterisk_ami engine configuration options.
ami_login: salt
ami_secret: salt
ami_port: 5038
ami_host: 127.0.0.1
ami_register_events:
- '*'
# If you want minion to log all AMI events set this to True.
ami_trace_events: False
# If you want minion to log all AMI actions set this to True.
ami_trace_actions: False
# ipset blacklist expire banned addresses in 10 minutes.
blacklist_timeout: 600