def _detect_os():
    # TODO: Add pillar support for the apachectl location
    if __grains__['os_family'] == 'RedHat':
        return 'apachectl'
    elif __grains__['os_family'] == 'Debian':
        return 'apache2ctl'
    else:
        return 'apachectl'
Writes the submission file
dataset/ETHPy150Open saltstack/salt/salt/modules/deb_apache.py/_detect_os--crossover with--dataset/ETHPy150Open benhamner/FacebookRecruitingCompetition/Benchmarks/utilities.py/write_submission_file