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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.64.5",
3
+ "version": "1.64.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
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 },
@@ -46,11 +46,6 @@ export class Service extends Base {
46
46
  collection: boolean;
47
47
  writeable: boolean;
48
48
  };
49
- addresses: {
50
- type: string;
51
- collection: boolean;
52
- writeable: boolean;
53
- };
54
49
  port: {
55
50
  type: string;
56
51
  collection: boolean;