From 64126e089e730953c1ff9e6407a5a2e7d23bf93b Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 28 May 2020 19:52:24 +0200 Subject: [PATCH] remove pri-zones-file reference in pac-module --- hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java index 678edd3..30e9546 100644 --- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java @@ -213,14 +213,8 @@ public class PacProcessorFactory implements EntityProcessorFactory { } final Map namedZonesTemplateVars = new HashMap(); namedZonesTemplateVars.put("domains", domsNames); - final Processor prizonesFileProcessor = new CompoundProcessor( - new VelocityProcessor("/de/hsadmin/mods/dom/named-pri-zones.vm", - namedZonesTemplateVars, "/etc/bind/named.pri-zones.tmp", true), - new ShellProcessor(" ( diff -q /etc/bind/named.pri-zones.tmp /etc/bind/named.pri-zones && rm /etc/bind/named.pri-zones.tmp ) " + - "|| ( mv /etc/bind/named.pri-zones.tmp /etc/bind/named.pri-zones && invoke-rc.d bind9 reload )") - ); final Processor dnsSetupProcessor = - new CompoundProcessor(zonefileTemplateProcessor, zonefileACLProcessor, prizonesFileProcessor); + new CompoundProcessor(zonefileTemplateProcessor, zonefileACLProcessor); return dnsSetupProcessor; }