pmcf 1.67.0 → 1.67.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dns.mjs +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "1.67.0",
3
+ "version": "1.67.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/dns.mjs CHANGED
@@ -132,10 +132,10 @@ export class DNSService extends Base {
132
132
  const options = ["forwarders {"];
133
133
  for (const s of this.forwardsTo) {
134
134
  for (const dns of s.findServices(DNS_SERVICE_FILTER)) {
135
- options.push(...(dns.rawAddresses.map(a=>a+";")));
135
+ options.push(...(dns.rawAddresses.map(a=>` ${a};`)));
136
136
  }
137
137
  }
138
- options.push("}");
138
+ options.push("};");
139
139
  await writeLines(join(p1, "etc/named.d/options"), `${name}.conf`, options);
140
140
 
141
141
  const category = [];
@@ -167,7 +167,7 @@ export class DNSService extends Base {
167
167
  name: `named-zones-${name}`,
168
168
  description: `zone definitions for ${this.fullName}`,
169
169
  dependencies: ["mf-named"],
170
- replaces: ["mf-named-zones", `named-${name}`],
170
+ replaces: ["mf-named-zones"],
171
171
  access: "private"
172
172
  };
173
173