forked from Normation/rudder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.conf
82 lines (64 loc) · 1.78 KB
/
main.conf
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Format is TOML 0.5 (https://github.com/toml-lang/toml/blob/v0.5.0/README.md)
## General configuration
[general]
nodes_list_file = "/var/rudder/lib/relay/nodeslist.json"
nodes_certs_file = "/var/rudder/lib/ssl/nodescerts.pem"
node_id_file = "/opt/rudder/etc/uuid.hive"
listen = "127.0.0.1:3030"
# By default, the number of CPUs
#core_threads = 4
#max_threads = 512
# blocking_threads is deprecated, replaced by max_threads
### Processing
[processing.inventory]
directory = "/var/rudder/inventories"
# Can be "upstream" or "disabled"
output = "disabled"
[processing.inventory.catchup]
# Job frequency
frequency = "10s"
# Process up to n files
limit = 50
[processing.inventory.cleanup]
# Job frequency
frequency = "10min"
# Inventory retention when not able to upload
retention = "1day"
[processing.reporting]
directory = "/var/rudder/reports"
# Can be "database", "upstream" or "disabled"
output = "disabled"
# Can be "log_warn", "log_info", "log_debug"
skip_event_types = []
[processing.reporting.catchup]
# Job frequency
frequency = "10s"
# Process up to n files
limit = 50
[processing.reporting.cleanup]
# Job frequency
frequency = "10min"
# Reports retention when not able to upload
retention = "1hour"
### Output
[output.database]
# PostgreSQL database on root servers
url = "postgres://rudder@127.0.0.1/rudder"
password = "PASSWORD"
# Max pool size for database connections
max_pool_size = 10
[output.upstream]
# Upstream relay on non-root servers
url = "https://127.0.0.1:3030"
user = "rudder"
password = "password"
# Password used for new inventories
default_password = "rudder"
verify_certificates = true
[remote_run]
command = "/opt/rudder/bin/rudder"
use_sudo = true
[shared_files]
path = "/var/rudder/shared-files/"
[shared_folder]
path = "/var/rudder/configuration-repository/shared-files"