summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2006-09-18 11:36:29 -0400
committerJim Meyering <jim@meyering.net>2006-09-18 11:36:29 -0400
commit4c84daf2fb99ba8860c02a1898c99ebab3dcfdc8 (patch)
tree44cbf17e583f62ae837d385fdcdcf0e1b7f10e2a
parent97afb4e62936bde4b8cd3e178c8cc90b4259153e (diff)
downloadthird_party-cobbler-4c84daf2fb99ba8860c02a1898c99ebab3dcfdc8.tar.gz
third_party-cobbler-4c84daf2fb99ba8860c02a1898c99ebab3dcfdc8.tar.xz
third_party-cobbler-4c84daf2fb99ba8860c02a1898c99ebab3dcfdc8.zip
- Fix bug in Apache conf file path substitution
-rw-r--r--cobbler/action_sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py
index f20495f..3f9484a 100644
--- a/cobbler/action_sync.py
+++ b/cobbler/action_sync.py
@@ -91,7 +91,7 @@ class BootSync:
</Directory>
"""
# this defaults to /var/www/cobbler if user didn't change it
- config_data.replace("/cobbler_webdir",self.settings.webdir)
+ config_data = config_data.replace("/cobbler_webdir",self.settings.webdir)
self.tee(f, config_data)
self.close_file(f)