pmcf 6.46.5 → 6.46.7
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 +3 -3
- package/src/common-attributes.mjs +0 -1
- package/src/keepalived.mjs +17 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.46.
|
|
3
|
+
"version": "6.46.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"aggregated-map": "^1.0.11",
|
|
54
54
|
"content-entry-transform": "^1.7.6",
|
|
55
55
|
"ip-utilties": "^3.13.1",
|
|
56
|
-
"npm-pkgbuild": "^22.1.
|
|
57
|
-
"pacc": "^11.
|
|
56
|
+
"npm-pkgbuild": "^22.1.6",
|
|
57
|
+
"pacc": "^11.10.0",
|
|
58
58
|
"package-directory": "^8.2.0",
|
|
59
59
|
"yaml": "^2.9.0"
|
|
60
60
|
},
|
|
@@ -113,7 +113,6 @@ export const bridges_attribute = {
|
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
export const family_attribute = { ...string_attribute, name: "family" };
|
|
116
|
-
|
|
117
116
|
export const psk_attribute = { ...string_attribute_writable, name: "psk" };
|
|
118
117
|
export const ssid_attribute = { ...string_attribute_writable, name: "ssid" };
|
|
119
118
|
export const hostname_attribute = {
|
package/src/keepalived.mjs
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
import { duration_attribute_writable } from "pacc";
|
|
2
|
+
import { addType } from "pmcf";
|
|
3
|
+
|
|
1
4
|
import { cluster } from "./cluster.mjs";
|
|
2
5
|
|
|
3
|
-
export class keepalived extends cluster {
|
|
6
|
+
export class keepalived extends cluster {
|
|
7
|
+
static priority = 1.5;
|
|
8
|
+
static attributes = {
|
|
9
|
+
checkInterval: {
|
|
10
|
+
...duration_attribute_writable,
|
|
11
|
+
name: "checkInterval",
|
|
12
|
+
default: 60
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
static {
|
|
17
|
+
addType(this);
|
|
18
|
+
}
|
|
19
|
+
}
|