def _detect_os():
 os_family = __grains__['os_family']
 if (os_family == 'RedHat'):
  return 'apachectl'
 elif ((os_family == 'Debian') or (os_family == 'SUSE')):
  return 'apache2ctl'
 else:
  return 'apachectl'

def _detect_os ( ) : os_family = __grains__ [ 'os_family' ] if ( os_family == 'RedHat' ) : return 'apachectl' elif ( ( os_family == 'Debian' ) or ( os_family == 'SUSE' ) ) : return 'apache2ctl' else : return 'apachectl'
apache commands and paths differ depending on packaging .