pmcf 6.61.6 → 6.62.0
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/common-attributes.mjs +6 -0
- package/src/core-service.mjs +2 -12
- package/src/credential.mjs +8 -0
- package/src/keepalived.mjs +1 -1
- package/src/module.mjs +1 -0
package/package.json
CHANGED
|
@@ -70,6 +70,12 @@ export const owners_attribute = {
|
|
|
70
70
|
backpointer: owner_attribute
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
+
export const credentials_attribute = {
|
|
74
|
+
...default_collection_attribute_writable,
|
|
75
|
+
type: "credential",
|
|
76
|
+
name: "credentials"
|
|
77
|
+
};
|
|
78
|
+
|
|
73
79
|
export const services_attribute = {
|
|
74
80
|
...default_collection_attribute_writable,
|
|
75
81
|
name: "services",
|
package/src/core-service.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import { addType } from "./type.mjs";
|
|
|
27
27
|
import { FAMILY_UNIX, FAMILY_DNS } from "./constants.mjs";
|
|
28
28
|
import {
|
|
29
29
|
networkAddressAttributes,
|
|
30
|
-
extends_attribute,
|
|
30
|
+
extends_attribute,credentials_attribute,
|
|
31
31
|
networkInterfaces_attribute,
|
|
32
32
|
endpointAttributes
|
|
33
33
|
} from "./common-attributes.mjs";
|
|
@@ -44,12 +44,6 @@ import {
|
|
|
44
44
|
dnsPriority
|
|
45
45
|
} from "./dns-utils.mjs";
|
|
46
46
|
|
|
47
|
-
export class credential extends base {
|
|
48
|
-
static {
|
|
49
|
-
addType(this);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
47
|
export class CoreService extends base {
|
|
54
48
|
static name = "core-service";
|
|
55
49
|
static priority = 1.1;
|
|
@@ -82,11 +76,7 @@ export class CoreService extends base {
|
|
|
82
76
|
systemdService: { ...string_attribute_writable, name: "systemdService" },
|
|
83
77
|
systemUserName: { ...string_attribute_writable, name: "systemUserName" },
|
|
84
78
|
systemGroupName: { ...string_attribute_writable, name: "systemGroupName" },
|
|
85
|
-
credentials:
|
|
86
|
-
...default_collection_attribute_writable,
|
|
87
|
-
type: credential,
|
|
88
|
-
name: "credentials"
|
|
89
|
-
}
|
|
79
|
+
credentials: credentials_attribute
|
|
90
80
|
};
|
|
91
81
|
|
|
92
82
|
static {
|
package/src/keepalived.mjs
CHANGED
package/src/module.mjs
CHANGED