'Helper method to get VirtualHost contents from the original file.
This is done with help of augeas span, which returns the span start and
end positions
:returns: `list` of VirtualHost block content lines without closing tag'

def _get_vhost_block(self, vhost):

    try:
        span_val = self.aug.span(vhost.path)
    except ValueError:
        logger.fatal('Error    while    reading    the    VirtualHost    %s    from    file    %s', vhost.name, vhost.filep, exc_info=True)
        raise errors.PluginError('Unable    to    read    VirtualHost    from    file')
    span_filep = span_val[0]
    span_start = span_val[5]
    span_end = span_val[6]
    with open(span_filep, 'r') as fh:
        fh.seek(span_start)
        vh_contents = fh.read((span_end - span_start)).split('\n')
    self._remove_closing_vhost_tag(vh_contents)
    return vh_contents
