pmcf 2.6.1 → 2.6.3

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": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -3,7 +3,7 @@ export const networkProperties = {
3
3
  type: "string",
4
4
  collection: false,
5
5
  writeable: true,
6
- values: ["global", "site", "link", "local"]
6
+ values: ["global", "site", "link", "host"]
7
7
  },
8
8
  kind: {
9
9
  type: "string",
@@ -282,14 +282,14 @@ async function generateZoneDefs(dns, location, packageData) {
282
282
  }
283
283
  }
284
284
  }
285
+ }
285
286
 
286
- if (configs.length > 0) {
287
- addHook(
288
- packageData.properties.hooks,
289
- "post_upgrade",
290
- "systemctl restart named"
291
- );
292
- }
287
+ if (configs.length > 0) {
288
+ addHook(
289
+ packageData.properties.hooks,
290
+ "post_upgrade",
291
+ "systemctl try-reload-or-restart named"
292
+ );
293
293
  }
294
294
 
295
295
  for (const domain of dns.localDomains) {