pmcf 1.64.5 → 1.64.6
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/package.json +1 -1
- package/src/cluster.mjs +4 -1
- package/src/service.mjs +0 -1
- package/types/service.d.mts +0 -5
package/package.json
CHANGED
package/src/cluster.mjs
CHANGED
|
@@ -82,7 +82,9 @@ export class Cluster extends Host {
|
|
|
82
82
|
" }",
|
|
83
83
|
` smtp_server ${this.smtp.rawAddress}`,
|
|
84
84
|
` notification_email_from keepalived@${host.domainName}`,
|
|
85
|
-
|
|
85
|
+
` lvs_id ${host.hostName}`,
|
|
86
|
+
"}",
|
|
87
|
+
""
|
|
86
88
|
];
|
|
87
89
|
|
|
88
90
|
for (const cluster of [...this.owner.clusters()].sort((a, b) =>
|
|
@@ -98,6 +100,7 @@ export class Cluster extends Host {
|
|
|
98
100
|
cfg.push(" }");
|
|
99
101
|
cfg.push(` virtual_router_id ${cluster.routerId}`);
|
|
100
102
|
cfg.push(` priority ${host.priority}`);
|
|
103
|
+
cfg.push(" smtp_alert");
|
|
101
104
|
cfg.push(" advert_int 5");
|
|
102
105
|
cfg.push(" authentication {");
|
|
103
106
|
cfg.push(" auth_type PASS");
|
package/src/service.mjs
CHANGED
|
@@ -21,7 +21,6 @@ const ServiceTypeDefinition = {
|
|
|
21
21
|
extends: Base.typeDefinition,
|
|
22
22
|
properties: {
|
|
23
23
|
ipAddresses: { type: "string", collection: true, writeable: true },
|
|
24
|
-
addresses: { type: "string", collection: true, writeable: true },
|
|
25
24
|
port: { type: "number", collection: false, writeable: true },
|
|
26
25
|
protocol: { type: "string", collection: false, writeable: true },
|
|
27
26
|
alias: { type: "string", collection: false, writeable: true },
|
package/types/service.d.mts
CHANGED