From 592d406208fb387fc14b5ec2663804d9f6a22a49 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 6 Dec 2005 18:50:52 +0000 Subject: Re-add daemonize support to the server Fix some pylint errors Add better error handling for function calls Add mesh-mode support for sshbase git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1612 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Vhost.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/Server/Plugins/Vhost.py') diff --git a/src/lib/Server/Plugins/Vhost.py b/src/lib/Server/Plugins/Vhost.py index 43c1b8ca5..5c38cd19e 100644 --- a/src/lib/Server/Plugins/Vhost.py +++ b/src/lib/Server/Plugins/Vhost.py @@ -26,6 +26,7 @@ class VhostFile(SingleXMLFileBacked): sitesav = "/etc/apache2/sites-available/" def __init__(self, name, fam): + self.meta = Element('dummy') self.dispatch = {'ConfigFile':{'/etc/default/apache2':self.generateApacheDefault}, 'Service':{'apache2':self.generateApacheSvc}} SingleXMLFileBacked.__init__(self, name, fam) @@ -33,6 +34,7 @@ class VhostFile(SingleXMLFileBacked): self.servers = [] self.vhosts = {} + def Index(self): '''Build vhost data structures''' self.meta = XML(self.data) -- cgit v1.2.3-1-g7c22