'Initialize an Apache Configurator.
:param tup version: version of Apache as a tuple (2, 4, 7)
(used mostly for unittesting)'

def __init__(self, *args, **kwargs):

    version = kwargs.pop('version', None)
    super(ApacheConfigurator, self).__init__(*args, **kwargs)
    self.assoc = dict()
    self._chall_out = set()
    self._enhanced_vhosts = defaultdict(set)
    self.parser = None
    self.version = version
    self.vhosts = None
    self._enhance_func = {'redirect': self._enable_redirect, 'ensure-http-header': self._set_http_header, 'staple-ocsp': self._enable_ocsp_stapling}
