'Check if Apache is installed.'

def check_httpd(self, status):

    if (self.checked_family == 'redhat'):
        rc = utils.subprocess_get(self.logger, 'httpd    -v')
    elif (self.checked_family == 'suse'):
        rc = utils.subprocess_get(self.logger, 'httpd2    -v')
    else:
        rc = utils.subprocess_get(self.logger, 'apache2    -v')
    if (rc.find('Server') == (-1)):
        status.append('Apache    (httpd)    is    not    installed    and/or    in    path')
