pmcf 4.9.0 → 4.9.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
package/src/service-types.mjs
CHANGED
|
@@ -107,6 +107,12 @@ export const ServiceTypes = {
|
|
|
107
107
|
],
|
|
108
108
|
dnsRecord: { type: "MX" }
|
|
109
109
|
},
|
|
110
|
+
lmtp: {
|
|
111
|
+
endpoints: [
|
|
112
|
+
{ family: "IPv4", protocol: "tcp", port: 24, tls: false },
|
|
113
|
+
{ family: "IPv6", protocol: "tcp", port: 24, tls: false }
|
|
114
|
+
]
|
|
115
|
+
},
|
|
110
116
|
ssh: {
|
|
111
117
|
endpoints: [
|
|
112
118
|
{ family: "IPv4", protocol: "tcp", port: 22, tls: false },
|
package/src/services/bind.mjs
CHANGED
|
@@ -164,7 +164,7 @@ export class BindService extends ExtraSourceService {
|
|
|
164
164
|
|
|
165
165
|
constructor(owner, data) {
|
|
166
166
|
super(owner, data);
|
|
167
|
-
|
|
167
|
+
|
|
168
168
|
this.views = {};
|
|
169
169
|
|
|
170
170
|
for (const name of ["internal", "protected"]) {
|
|
@@ -323,8 +323,7 @@ export class BindService extends ExtraSourceService {
|
|
|
323
323
|
packageData.properties = {
|
|
324
324
|
name: `named-zones-${name}-outfacing`,
|
|
325
325
|
description: `outfacing zone definitions for ${names}`,
|
|
326
|
-
access: "private"
|
|
327
|
-
hooks: {}
|
|
326
|
+
access: "private"
|
|
328
327
|
};
|
|
329
328
|
|
|
330
329
|
yield* this.generateOutfacingDefs(sources, packageData);
|
|
@@ -345,7 +344,7 @@ export class BindService extends ExtraSourceService {
|
|
|
345
344
|
|
|
346
345
|
if (outfacingZones.length) {
|
|
347
346
|
addHook(
|
|
348
|
-
packageData
|
|
347
|
+
packageData,
|
|
349
348
|
"post_upgrade",
|
|
350
349
|
`/usr/bin/named-hostname-update ${outfacingZones
|
|
351
350
|
.map(zone => zone.id)
|