'Determine if Cobbler automatic OS installation files will be accepted by
corresponding Linux distribution installers. The presence of an error
does not imply that the automatic installation file is bad, only that
the possibility exists. Automatic installation file validators are not
available for all automatic installation file types and on all operating
systems in which Cobbler may be installed.
@param Logger logger logger
@return bool if all automatic installation files are valid'

def validate_autoinstall_files(self, logger=None):

    for x in self.collection_mgr.profiles():
        (success, errors_type, errors) = self.validate_autoinstall_file(x, True)
        if (not success):
            overall_success = True
        if (len(errors) > 0):
            self.log_autoinstall_validation_errors(errors_type, errors)
    for x in self.collection_mgr.systems():
        (success, errors_type, errors) = self.validate_autoinstall_file(x, False)
        if (not success):
            overall_success = False
        if (len(errors) > 0):
            self.log_autoinstall_validation_errors(errors_type, errors)
    if (not overall_success):
        self.logger.warning('***    potential    errors    detected    in    automatic    installation    files    ***')
    else:
        self.logger.info('***    all    automatic    installation    files    seem    to    be    ok    ***')
    return overall_success
