pmcf 2.6.2 → 2.6.4
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 +3 -2
- package/src/network-support.mjs +1 -1
- package/src/services/dhcp.mjs +2 -2
- package/types/cluster.d.mts +1 -0
package/package.json
CHANGED
package/src/cluster.mjs
CHANGED
|
@@ -64,7 +64,7 @@ export class Cluster extends Host {
|
|
|
64
64
|
new Set()
|
|
65
65
|
)) {
|
|
66
66
|
const host = ni.host;
|
|
67
|
-
const name = `keepalived-${host.name}`;
|
|
67
|
+
const name = `keepalived-${host.location.name}-${host.name}`;
|
|
68
68
|
const packageStagingDir = join(stagingDir, name);
|
|
69
69
|
const result = {
|
|
70
70
|
sources: [
|
|
@@ -77,7 +77,8 @@ export class Cluster extends Host {
|
|
|
77
77
|
name,
|
|
78
78
|
description: `${this.typeName} definitions for ${this.fullName}`,
|
|
79
79
|
access: "private",
|
|
80
|
-
dependencies: ["keepalived>=2.3.3"]
|
|
80
|
+
dependencies: ["keepalived>=2.3.3"],
|
|
81
|
+
replaces: [`keepalived-${host.name}`]
|
|
81
82
|
}
|
|
82
83
|
};
|
|
83
84
|
|
package/src/network-support.mjs
CHANGED
package/src/services/dhcp.mjs
CHANGED
|
@@ -47,11 +47,11 @@ export class DHCPService extends Service {
|
|
|
47
47
|
sources: [new FileContentProvider(dir + "/")[Symbol.asyncIterator]()],
|
|
48
48
|
outputs: this.outputs,
|
|
49
49
|
properties: {
|
|
50
|
-
name: `kea-${name}`,
|
|
50
|
+
name: `kea-${this.location.name}-${host.name}`,
|
|
51
51
|
description: `kea definitions for ${this.fullName}@${name}`,
|
|
52
52
|
access: "private",
|
|
53
53
|
dependencies: ["kea"],
|
|
54
|
-
replaces: ["kea-SW"] // TODO remove
|
|
54
|
+
replaces: ["kea-SW",`kea-${name}`] // TODO remove
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|