From 96ce975aec7eabaac52b4e38dcf0f5543dcda4ba Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 21 Oct 2011 12:46:13 +0000 Subject: [PATCH] activate pacmodule --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 1 + .../mods/pac/{NoPacModuleImpl.java => PacModuleImpl.java} | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) rename hsarback/src/de/hsadmin/mods/pac/{NoPacModuleImpl.java => PacModuleImpl.java} (99%) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 79b8c56..3fbad4b 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -150,6 +150,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { private Processor createDNSServerRemoveProcessor(String domName) { return new ShellProcessor("grep -v '\"sec." + domName + "\"' /etc/bind/named-hsh.conf >/etc/bind/named-hsh.conf.tmp" + + // TODO sed -e'/sec.abc.example.com/d' -i /etc/bind/named-hsh.conf " && mv /etc/bind/named-hsh.conf.tmp /etc/bind/named-hsh.conf" + " && rm /var/cache/bind/sec." + domName + " && invoke-rc.d bind9 reload"); diff --git a/hsarback/src/de/hsadmin/mods/pac/NoPacModuleImpl.java b/hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java similarity index 99% rename from hsarback/src/de/hsadmin/mods/pac/NoPacModuleImpl.java rename to hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java index c68014d..b09b3f5 100644 --- a/hsarback/src/de/hsadmin/mods/pac/NoPacModuleImpl.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacModuleImpl.java @@ -19,7 +19,7 @@ import de.hsadmin.mods.cust.Customer; import de.hsadmin.mods.dom.Domain; import de.hsadmin.mods.user.UnixUser; -public class NoPacModuleImpl extends AbstractModuleImpl { +public class PacModuleImpl extends AbstractModuleImpl { @Override public List search(Class entityClass,