summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-09-02 15:29:38 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-09-02 15:29:38 +0000
commitac7a25d8c2405dd465d2ddb616510ec951d424b3 (patch)
tree674d88bf5c66c3f80681f43a01b0b9452ecacc21
parent7a29fcf3d0e12c5f05ff287a34cdf3d025ef6a0e (diff)
downloadbcfg2-ac7a25d8c2405dd465d2ddb616510ec951d424b3.tar.gz
bcfg2-ac7a25d8c2405dd465d2ddb616510ec951d424b3.tar.bz2
bcfg2-ac7a25d8c2405dd465d2ddb616510ec951d424b3.zip
vhost update from ScottB
(Logical change 1.295) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1181 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Generators/Vhost.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Server/Generators/Vhost.py b/src/lib/Server/Generators/Vhost.py
index d98ee891e..4ccc1d3c7 100644
--- a/src/lib/Server/Generators/Vhost.py
+++ b/src/lib/Server/Generators/Vhost.py
@@ -1,5 +1,5 @@
'''This module manages vhost files for bcfg2'''
-__revision__ = '$Revision: 1.48 $'
+__revision__ = '$Revision: $'
#-------------------------------------------
# Script Name: vhost.py
# Script Version: 1.0
@@ -35,7 +35,8 @@ class VhostFile(SingleXMLFileBacked):
def Index(self):
self.store = XML(self.data)
- self.http = open('/mnt/bcfg2/Vhost/default.httpd', 'r').readlines()
+ # this isnt file backed yet
+ self.http = open('/disks/bcfg2/Vhost/default.httpd', 'r').readlines()
for server in self.store.findall("server"):
for vhost in server.findall("vhost"):
name = vhost.get('name')