-
Notifications
You must be signed in to change notification settings - Fork 278
/
Copy pathdefault.rb
71 lines (63 loc) · 2.73 KB
/
default.rb
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
# user
default["sensu"]["user"] = "sensu"
default["sensu"]["group"] = "sensu"
# platform
if platform_family?("windows")
default["sensu"]["admin_user"] = "Administrator"
default["sensu"]["directory"] = 'C:\etc\sensu'
default["sensu"]["log_directory"] = 'C:\var\log\sensu'
default["sensu"]["windows"]["package_options"] = nil
default["sensu"]["windows"]["install_dotnet"] = true
default["sensu"]["windows"]["dotnet_major_version"] = 4
else
default["sensu"]["admin_user"] = "root"
default["sensu"]["directory"] = "/etc/sensu"
default["sensu"]["log_directory"] = "/var/log/sensu"
end
# installation
default["sensu"]["version"] = "1.2.0-1"
default["sensu"]["version_suffix"] = nil
default["sensu"]["apt_repo_codename"] = nil
default["sensu"]["yum_repo_releasever"] = nil
default["sensu"]["use_unstable_repo"] = false
default["sensu"]["log_level"] = "info"
default["sensu"]["log_rotate_file_size"] = 10240
default["sensu"]["log_rotate_file_keep"] = 10
default["sensu"]["use_ssl"] = true
default["sensu"]["use_embedded_ruby"] = true
default["sensu"]["service_max_wait"] = 10
default["sensu"]["directory_mode"] = "0750"
default["sensu"]["log_directory_mode"] = "0750"
default["sensu"]["client_deregister_on_stop"] = false
default["sensu"]["client_deregister_handler"] = nil
default["sensu"]["apt_repo_url"] = "http://eol-repositories.sensuapp.org/apt"
default["sensu"]["yum_repo_url"] = "http://eol-repositories.sensuapp.org"
default['sensu']['msi_repo_url'] = "https://eol-repositories.sensuapp.org/msi"
default['sensu']['yum_flush_cache'] = nil
default["sensu"]["aix_package_root_url"] = "https://eol-repositories.sensuapp.org/aix"
default["sensu"]["add_repo"] = true
default['sensu']['apt_key_url'] = 'https://eol-repositories.sensuapp.org/apt/pubkey.gpg'
default['sensu']['yum_key_url'] = 'https://eol-repositories.sensuapp.org/yum/pubkey.gpg'
# transport
default["sensu"]["transport"]["reconnect_on_error"] = true
default["sensu"]["transport"]["name"] = 'rabbitmq'
# rabbitmq
default["sensu"]["rabbitmq"]["hosts"] = []
default["sensu"]["rabbitmq"]["host"] = "localhost"
default["sensu"]["rabbitmq"]["port"] = 5671
default["sensu"]["rabbitmq"]["vhost"] = "/sensu"
default["sensu"]["rabbitmq"]["user"] = "sensu"
default["sensu"]["rabbitmq"]["password"] = "password"
# redis
default["sensu"]["redis"]["host"] = "localhost"
default["sensu"]["redis"]["port"] = 6379
default["sensu"]["redis"]["reconnect_on_error"] = true
# api
default["sensu"]["api"]["host"] = "localhost"
default["sensu"]["api"]["bind"] = "0.0.0.0"
default["sensu"]["api"]["port"] = 4567
# data bag
default["sensu"]["data_bag"]["name"] = "sensu"
default["sensu"]["data_bag"]["ssl_item"] = "ssl"
default["sensu"]["data_bag"]["config_item"] = "config"
default["sensu"]["data_bag"]["enterprise_item"] = "enterprise"