-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmetadata.rb
271 lines (203 loc) · 9.15 KB
/
metadata.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
name "elastic"
maintainer "Jim Dowling"
maintainer_email "[email protected]"
license "Apache v2.0"
description 'Installs/Configures/Runs opensearch'
version "4.0.0"
recipe "elastic::install", "Experiment setup for opensearch"
recipe "elastic::default", "Configures and starts an opensearch server"
recipe "elastic::purge", "Deletes an opensearch server"
depends "ulimit2", '~> 0.2.0'
depends "sysctl", '~> 1.0.3'
depends "ark", '= 5.1.1'
depends "yum", '= 6.1.1'
depends 'conda'
depends 'kagent'
depends 'ndb'
depends "java"
%w{ ubuntu debian rhel centos }.each do |os|
supports os
end
attribute "elastic/port",
:description => "Port for opensearch service (default: 9200)",
:type => 'string'
attribute "elastic/bind_host",
:description => "IP on which to bind Opensearch (Default: 0.0.0.0)",
:type => 'string'
attribute "elastic/ulimit_files",
:description => "Number of files to set ulimit to.",
:type => 'string'
attribute "elastic/ulimit_memlock",
:description => "Memlock size for ulimit",
:type => 'string'
attribute "elastic/user",
:description => "User to install elastic as.",
:type => 'string'
attribute "elastic/user_id",
:description => "Elastic user ID. Default: 1501",
:type => 'string'
attribute "elastic/user-home",
:description => "Home directory of elastic user",
:type => 'string'
attribute "elastic/elk-user",
:description => "Administrator user for ELK stack.",
:type => 'string'
attribute "elastic/elk-user_id",
:description => "ELK stack admin user ID. Default: 1502",
:type => 'string'
attribute "elastic/elk-home",
:description => "Home directory of elastic admin user",
:type => 'string'
attribute "elastic/group",
:description => "Group to install elastic as.",
:type => 'string'
attribute "elastic/group_id",
:description => "Elastic group ID. Default: 1501",
:type => 'string'
attribute "elastic/elk-group",
:description => "Group for ELK admin user.",
:type => 'string'
attribute "elastic/elk-group_id",
:description => "ELK admin group ID. Default: 1502",
:type => 'string'
attribute "elastic/dir",
:description => "Base directory to install elastic search into.",
:type => 'string'
attribute "elastic/data_dir",
:description => "Directory to store elastic data.",
:type => 'string'
attribute "elastic/backup_dir",
:description => "Directory to store elastic backup snapshots.",
:type => 'string'
attribute "elastic/memory/Xms",
:description => "Amount of minimum heap memory for Opensearch. Default '512m'.",
:type => 'string'
attribute "elastic/memory/Xmx",
:description => "Amount of maximum heap memory for Opensearch. Default: '1024m'.",
:type => 'string'
attribute "elastic/cluster/max_shards_per_node",
:description => "Amount of maximum shards per node.",
:type => 'string'
attribute "elastic/version",
:description => "Opensearch version, .e.g, '1.2.4'",
:type => 'string'
attribute "elastic/checksum",
:description => "Sha-512 checksum for the opensearch .tar.gz file",
:type => 'string'
attribute "elastic/default/private_ips",
:description => "Set ip addresses",
:type => "array"
attribute "elastic/default/public_ips",
:description => "Set ip addresses",
:type => "array"
attribute "install/dir",
:description => "Set to a base directory under which we will install.",
:type => "string"
attribute "install/user",
:description => "User to install the services as",
:type => "string"
attribute "elastic/projects/reindex",
:description => "Delete and reindex the projects index",
:type => "string"
attribute "elastic/featurestore/reindex",
:description => "Delete and reindex the featurestore index",
:type => "string"
attribute "elastic/master",
:description => "Master eligible node. Default is true.",
:type => 'string'
attribute "elastic/data",
:description => "Data node. Default is true.",
:type => 'string'
attribute "elastic/snapshot/type",
:description => "Type of snapshot repository. Valid values are S3 and none. Default: none",
:type => 'string'
attribute "elastic/snapshot/s3/access_key_id",
:description => "Access key ID to S3 bucket. Default: Hops access key ID",
:type => 'string'
attribute "elastic/snapshot/s3/secret_access_key",
:description => "Secret access key to S3 bucket. Default: Hops secret access key",
:type => 'string'
attribute "elastic/snapshot/s3/session_token",
:description => "Optionally supply a session token for S3 bucket. Default: none",
:type => 'string'
attribute "elastic/snapshot/s3/endpoint",
:description => "Override endpoint for S3 bucket. Default: Hops endpoint",
:type => 'string'
attribute "elastic/snapshot/indices",
:description => "Regular expression of indices to snapshot. Default: *file_prov,app_provenance,*__embedding_*",
:type => 'string'
attribute "elastic/snapshot/restore/id",
:description => "Snapshot ID to restore. Default: empty",
:type => 'string'
attribute "elastic/opensearch_security/admin/username",
:description => "Admin username for Opensearch security.",
:type => 'string'
attribute "elastic/opensearch_security/admin/password",
:description => "Admin password for Opensearch security.",
:type => 'string'
attribute "elastic/opensearch_security/kibana/username",
:description => "Username used by kibana to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/kibana/password",
:description => "Password used by kibana to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/logstash/username",
:description => "Username used by logstash to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/logstash/password",
:description => "Password used by logstash to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/epipe/username",
:description => "Username used by epipe to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/epipe/password",
:description => "Password used by epipe to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/elastic_exporter/username",
:description => "Username used by elastic_exporter to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/elastic_exporter/password",
:description => "Password used by elastic_exporter to interact with Opensearch.",
:type => 'string'
attribute "elastic/opensearch_security/service_log_viewer/username",
:description => "Username of the user viewing service logs",
:type => 'string'
attribute "elastic/opensearch_security/service_log_viewer/password",
:description => "Password of the user viewing service logs",
:type => 'string'
attribute "elastic/opensearch_security/onlinefs/username",
:description => "Username of onlinefs",
:type => 'string'
attribute "elastic/opensearch_security/onlinefs/password",
:description => "Password of onlinefs",
:type => 'string'
attribute "elastic/opensearch_security/jwt/exp_ms",
:description => "The expiration time in milliseconds for a jwt token generated for Opensearch security.",
:type => 'string'
attribute "elastic/opensearch_security/audit/enable_rest",
:description => "Enable or disable audit on the REST API. Default is true.",
:type => 'string'
attribute "elastic/opensearch_security/audit/enable_transport",
:description => "Enable or disable audit on the transport layer. Default is false.",
:type => 'string'
attribute "elastic/knn/enabled",
:description => "Default: true",
:type => 'string'
attribute "elastic/knn/index_threads",
:description => "Default: 1",
:type => 'string'
attribute "elastic/knn/cache_expire/enabled",
:description => "Default: false",
:type => 'string'
attribute "elastic/knn/circuit_breaker/percent",
:description => "Default: 75%",
:type => 'string'
attribute "elastic/knn/circuit_breaker/triggered",
:description => "Default: false",
:type => 'string'
attribute "elastic/knn/memory_circuit_breaker/limit",
:description => "Default: 50%",
:type => 'string'
attribute "elastic/knn/memory_circuit_breaker/enabled",
:description => "Default: true",
:type => 'string'