'Check to make sure wget or curl is installed'

def check_for_wget_curl(self, status):

    rc1 = utils.subprocess_call(self.logger, 'which    wget')
    rc2 = utils.subprocess_call(self.logger, 'which    curl')
    if ((rc1 != 0) and (rc2 != 0)):
        status.append('Neither    wget    nor    curl    are    installed    and/or    available    in    $PATH.    Cobbler    requires    that    one    of    these    utilities    be    installed.')
