pmcf 6.41.1 → 6.41.2

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.41.1",
3
+ "version": "6.41.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/content.mjs CHANGED
@@ -236,7 +236,7 @@ export class content extends core {
236
236
  }
237
237
 
238
238
  get permissions() {
239
- return this.mapFromDirections(["this", "extends"], "_permissions");
239
+ return this.expand(this.mapFromDirections(["this", "extends"], "_permissions"));
240
240
  }
241
241
 
242
242
  /**
@@ -67,6 +67,9 @@ export class kea extends CoreService {
67
67
  };
68
68
  static service = {
69
69
  extends: ["dhcp"],
70
+ systemdService: "kea.service",
71
+ systemUserName: "kea",
72
+ systemGroupName: "kea",
70
73
  services: {
71
74
  "kea-ddns": {
72
75
  endpoints: [
@@ -97,10 +97,9 @@ export class SystemdResolvedService extends ExtraSourceService {
97
97
  return {
98
98
  services: `services[types[dns] && priority>=${lower} && priority<=${upper}]`,
99
99
  endpoints: e =>
100
- e.family == FAMILY_IPV4 &&
100
+ e.family === FAMILY_IPV4 &&
101
101
  e.networkInterface &&
102
102
  e.networkInterface.kind !== "loopback",
103
- //e.family !== FAMILY_DNS,
104
103
  select: endpoint => endpoint.address,
105
104
  join: " ",
106
105
  limit
@@ -48,7 +48,6 @@ export class SystemdTimesyncdService extends ExtraSourceService {
48
48
  systemdConfigs(name) {
49
49
  const options = (lower, upper) => {
50
50
  return {
51
- // TODO types[ntp]
52
51
  services: `services[in("ntp",types) && priority >= ${lower} && priority <= ${upper}]`,
53
52
  endpoints: e =>
54
53
  e.networkInterface && e.networkInterface.kind !== "loopback",