From ac7a25d8c2405dd465d2ddb616510ec951d424b3 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Fri, 2 Sep 2005 15:29:38 +0000 Subject: 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 --- src/lib/Server/Generators/Vhost.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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') -- cgit v1.2.3-1-g7c22