summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-01-28 14:22:50 -0500
committerRob Crittenden <rcritten@redhat.com>2010-01-28 17:29:18 -0500
commitbf63cd30a6224f76ceeaacead57af557208fbb93 (patch)
treed842e761fa9c66da3f3fae1ef2e4a85152f618ab /install
parent9409b5cf2e9d11467380dd13b9b397ab564fed95 (diff)
downloadfreeipa-bf63cd30a6224f76ceeaacead57af557208fbb93.tar.gz
freeipa-bf63cd30a6224f76ceeaacead57af557208fbb93.tar.xz
freeipa-bf63cd30a6224f76ceeaacead57af557208fbb93.zip
Remove some configuration files we create upon un-installation
This is particularly important for Apache since we'd leave the web server handling unconfigured locations.
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-server-install7
1 files changed, 6 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 43095a49..ee304597 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -397,6 +397,12 @@ def uninstall(ca = False):
os.remove(ANSWER_CACHE)
except Exception:
pass
+ # ipa-client-install removes /etc/ipa/default.conf
+ try:
+ os.remove("/etc/httpd/conf.d/ipa-rewrite.conf")
+ os.remove("/etc/httpd/conf.d/ipa.conf")
+ except:
+ pass
return 0
@@ -624,7 +630,6 @@ def main():
dns_forwarders = ()
# Create the management framework config file and finalize api
- fstore.backup_file("/etc/ipa/default.conf")
fd = open("/etc/ipa/default.conf", "w")
fd.write("[global]\n")
fd.write("basedn=" + util.realm_to_suffix(realm_name) + "\n")