-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
40 lines (40 loc) · 1.79 KB
/
config.js
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
/**
* CONFIG
* Group your hosts by column using the environment
* Each host can have a hostname or be null (for local services)
* Each host can have credentials which reference the credentials section
* Credentials:
* Credentials consist of a username and a password encoded as a PowerShell secure string
* This file must be created by you, the user of this app so that you can decode the file.
* The credentials should be stored in ~/pssm/ as:
* <credential>.cred.txt: Your username
* <credential>.cred: Your secure password
*/
module.exports = {
"environments": [
{
"key": "dev",
"label": "DEV",
"hosts": [
{"key": "local1", "hostname": null, "label": "ECOM-APP02-DEV", "credential": "local", "services": ["WSearch", "SysMain", "Fax", "AJRouter"], "color": "blue lighten-1"},
{"key": "local2", "hostname": "localhost", "label": "ECOM-APP00-DEV", "credential": "local", "services": ["a*", "MSiSCSI", "LxssManager"], "color": "blue lighten-1"}
]
},
{
"key": "test",
"label": "TEST",
"hosts": [
{"key": "test1", "hostname": "localhost", "label": "ECOM-APP02-TEST", "credential": "local", "services": ["dbupdate", "smphost", "Power"] ,"color": "green"},
{"key": "test2", "hostname": "localhost", "label": "ECOM-APP01-TEST", "credential": "local", "services": ["stisvc", "SENS", "Dhcp"], "color": "green"}
]
},
{
"key": "prod",
"label": "PROD",
"hosts": [
{"key": "test1", "hostname": "localhost", "label": "ECOM-APP02-PROD", "credential": "local", "services": ["dbupdate", "smphost", "Power"] ,"color": "red"},
{"key": "test2", "hostname": "localhost", "label": "ECOM-APP01-PROD", "credential": "local", "services": ["stisvc", "SENS", "Dhcp"], "color": "red"}
]
}
]
};