pmcf 3.14.3 → 3.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -20
- package/package.json +8 -6
- package/src/service-types.mjs +14 -0
- package/types/service-types.d.mts +16 -0
package/README.md
CHANGED
|
@@ -14,32 +14,58 @@
|
|
|
14
14
|
|
|
15
15
|
## Poor mans configuration management
|
|
16
16
|
|
|
17
|
+
Generates system packages from config blueprint.
|
|
18
|
+
|
|
19
|
+
supported linux derivates:
|
|
20
|
+
|
|
21
|
+
- arch linux
|
|
22
|
+
- debian
|
|
23
|
+
- rpm based systems
|
|
24
|
+
|
|
25
|
+
generates config packages for:
|
|
26
|
+
|
|
27
|
+
- systemd
|
|
28
|
+
- networkd
|
|
29
|
+
- timesyncd
|
|
30
|
+
- resolverd
|
|
31
|
+
- kea
|
|
32
|
+
- bind
|
|
33
|
+
- mosquitto
|
|
34
|
+
- influxdb
|
|
35
|
+
- iwd
|
|
36
|
+
- chrony
|
|
37
|
+
|
|
17
38
|
# API
|
|
18
39
|
|
|
19
40
|
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
|
|
20
41
|
|
|
21
42
|
### Table of Contents
|
|
22
43
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
- [pmcf](#pmcf)
|
|
45
|
+
- [Poor mans configuration management](#poor-mans-configuration-management)
|
|
46
|
+
- [API](#api)
|
|
47
|
+
- [Table of Contents](#table-of-contents)
|
|
48
|
+
- [Base](#base)
|
|
49
|
+
- [Parameters](#parameters)
|
|
50
|
+
- [extends](#extends)
|
|
51
|
+
- [findService](#findservice)
|
|
52
|
+
- [Parameters](#parameters-1)
|
|
53
|
+
- [port](#port)
|
|
54
|
+
- [socketAddress](#socketaddress)
|
|
55
|
+
- [port](#port-1)
|
|
56
|
+
- [SkeletonNetworkInterface](#skeletonnetworkinterface)
|
|
57
|
+
- [networkAddresses](#networkaddresses)
|
|
58
|
+
- [Parameters](#parameters-2)
|
|
59
|
+
- [NetworkAddress](#networkaddress)
|
|
60
|
+
- [Parameters](#parameters-3)
|
|
61
|
+
- [subnet](#subnet)
|
|
62
|
+
- [networkInterface](#networkinterface)
|
|
63
|
+
- [address](#address)
|
|
64
|
+
- [addresses](#addresses)
|
|
65
|
+
- [Parameters](#parameters-4)
|
|
66
|
+
- [serviceEndpoints](#serviceendpoints)
|
|
67
|
+
- [Parameters](#parameters-5)
|
|
68
|
+
- [install](#install)
|
|
43
69
|
|
|
44
70
|
## Base
|
|
45
71
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"packageManager": "npm@11.6.
|
|
7
|
+
"packageManager": "npm@11.6.4+sha512.1118cab46a05a50aee6bff5b1b4fa1df18afff89d57465620a3518035026955db87c5bdf9d207b07b7487d99f2490d450cb774655ad63ec2cba7bf1d0ad25d45",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"default": "./src/module.mjs"
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
},
|
|
13
13
|
"description": "Poor mans configuration management",
|
|
14
14
|
"keywords": [
|
|
15
|
+
"arch linux",
|
|
15
16
|
"bind",
|
|
16
17
|
"chrony",
|
|
17
18
|
"config",
|
|
18
19
|
"config management",
|
|
20
|
+
"debian",
|
|
19
21
|
"dhcp",
|
|
20
22
|
"dns",
|
|
21
23
|
"influxdb",
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
"keepalived",
|
|
25
27
|
"mosquitto",
|
|
26
28
|
"openldap",
|
|
27
|
-
"
|
|
29
|
+
"rpm",
|
|
28
30
|
"systemd"
|
|
29
31
|
],
|
|
30
32
|
"contributors": [
|
|
@@ -51,9 +53,9 @@
|
|
|
51
53
|
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
|
|
52
54
|
},
|
|
53
55
|
"dependencies": {
|
|
54
|
-
"ip-utilties": "^1.4.
|
|
55
|
-
"npm-pkgbuild": "^19.0.
|
|
56
|
-
"pacc": "^4.41.
|
|
56
|
+
"ip-utilties": "^1.4.13",
|
|
57
|
+
"npm-pkgbuild": "^19.0.4",
|
|
58
|
+
"pacc": "^4.41.2",
|
|
57
59
|
"package-directory": "^8.1.0"
|
|
58
60
|
},
|
|
59
61
|
"devDependencies": {
|
package/src/service-types.mjs
CHANGED
|
@@ -138,6 +138,20 @@ export const ServiceTypes = {
|
|
|
138
138
|
// adVF: "0x82"
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
+
},
|
|
142
|
+
pcp: {
|
|
143
|
+
// rfc6887
|
|
144
|
+
endpoints: [
|
|
145
|
+
{ family: "IPv4", protocol: "udp", port: 5351, tls: false },
|
|
146
|
+
{ family: "IPv6", protocol: "udp", port: 5351, tls: false }
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"pcp-multicast": {
|
|
150
|
+
// rfc6887
|
|
151
|
+
endpoints: [
|
|
152
|
+
{ family: "IPv4", protocol: "udp", port: 5350, tls: false },
|
|
153
|
+
{ family: "IPv6", protocol: "udp", port: 5350, tls: false }
|
|
154
|
+
]
|
|
141
155
|
}
|
|
142
156
|
};
|
|
143
157
|
|
|
@@ -183,4 +183,20 @@ export const ServiceTypes: {
|
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
+
pcp: {
|
|
187
|
+
endpoints: {
|
|
188
|
+
family: string;
|
|
189
|
+
protocol: string;
|
|
190
|
+
port: number;
|
|
191
|
+
tls: boolean;
|
|
192
|
+
}[];
|
|
193
|
+
};
|
|
194
|
+
"pcp-multicast": {
|
|
195
|
+
endpoints: {
|
|
196
|
+
family: string;
|
|
197
|
+
protocol: string;
|
|
198
|
+
port: number;
|
|
199
|
+
tls: boolean;
|
|
200
|
+
}[];
|
|
201
|
+
};
|
|
186
202
|
};
|