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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.61.6",
3
+ "version": "6.62.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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",
@@ -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 {
@@ -0,0 +1,8 @@
1
+ import { base } from "./base.mjs";
2
+ import { addType } from "./type.mjs";
3
+
4
+ export class credential extends base {
5
+ static {
6
+ addType(this);
7
+ }
8
+ }
@@ -21,7 +21,7 @@ export class keepalived extends cluster {
21
21
  addType(this);
22
22
  }
23
23
 
24
- checkInterval = 60;
24
+ checkInterval = 60;
25
25
 
26
26
  async *preparePackages(stagingDir) {
27
27
  for (const ni of [...this.owner.clusters.values()].reduce(
package/src/module.mjs CHANGED
@@ -4,6 +4,7 @@ export * from "./core.mjs";
4
4
  export * from "./content.mjs";
5
5
  export * from "./common-attributes.mjs";
6
6
  export * from "./base.mjs";
7
+ export * from "./credential.mjs";
7
8
  export * from "./cluster.mjs";
8
9
  export * from "./keepalived.mjs";
9
10