pmcf 4.9.0 → 4.9.1

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": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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.properties.hooks,
347
+ packageData,
349
348
  "post_upgrade",
350
349
  `/usr/bin/named-hostname-update ${outfacingZones
351
350
  .map(zone => zone.id)