Be more explicit in the configuration file parsing in vhost directory, augeas will silently fail if it encounters something funny

This commit is contained in:
Joona Hoikkala 2015-12-07 11:06:32 +02:00
parent 651c8702cb
commit cd0ae93ddc

View file

@ -62,7 +62,7 @@ class ApacheParser(object):
self._parse_file(os.path.join(self.root, "conf") + "/httpd.conf")
# Must also attempt to parse virtual host root
self._parse_file(self.vhostroot + "/*")
self._parse_file(self.vhostroot + "/*.conf")
def init_modules(self):