1 | {
|
2 | "parameters_schema": {
|
3 | "invoker_config": {
|
4 | "$schema": "http://json-schema.org/draft-04/schema#",
|
5 | "type": "object",
|
6 | "properties": {
|
7 | "access": {
|
8 | "description": "Currently supported access mechanisms: local, ssh",
|
9 | "type": "string",
|
10 | "default": "local"
|
11 | },
|
12 | "min_runs": {
|
13 | "description": "Min number of runs",
|
14 | "type": "integer",
|
15 | "default": 1
|
16 | },
|
17 | "max_runs": {
|
18 | "description": "Max number of runs",
|
19 | "type": "integer",
|
20 | "default": 3
|
21 | },
|
22 | "ssh_port": {
|
23 | "description": "SSH port",
|
24 | "type": "integer",
|
25 | "default": 22
|
26 | },
|
27 | "ssh_host": {
|
28 | "description": "SSH host (DNS name or IP address)",
|
29 | "type": "integer"
|
30 | },
|
31 | "ssh_user": {
|
32 | "description": "SSH username",
|
33 | "type": "string",
|
34 | "default": "ubuntu"
|
35 | },
|
36 | "ssh_private_key": {
|
37 | "description": "SSH private key",
|
38 | "type": "string"
|
39 | }
|
40 | },
|
41 | "required": [ "access" ]
|
42 | },
|
43 | "run_list": {
|
44 | "type": "array",
|
45 | "items": {
|
46 | "type": "string"
|
47 | },
|
48 | "default": []
|
49 | }
|
50 | },
|
51 | "results_schema": {
|
52 | "run_list": {
|
53 | "type": "object",
|
54 | "properties": null,
|
55 | "mapping": "file",
|
56 | "file_path": "./out/run_list.json",
|
57 | "description": "Chef run list used for invocation"
|
58 | },
|
59 | "ps": {
|
60 | "type": "string",
|
61 | "mapping": "file",
|
62 | "file_path": "./out/ps_aux.txt",
|
63 | "description": "Running processes after invocation"
|
64 | },
|
65 | "logs": {
|
66 | "type": "string",
|
67 | "mapping": "stdout",
|
68 | "description": "Log messages put to stdout"
|
69 | }
|
70 | }
|
71 | }
|
72 |
|