code: def version():
      '''
      Return server version (``apachectl -v``)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' apache.version
      '''
      cmd = '{0} -v'.format(_detect_os())
      out = __salt__['cmd.run'](cmd).splitlines()
      ret = out[0].split(': ')
      return ret[1f version():
      '''
      Return server version (``apachectl -v``)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' apache.version
      '''
      cmd = '{0} -v'.format(_detect_os())
      out = __salt__['cmd.run'](cmd).splitlines()
      ret = out[0].split(': ')
      return ret[1]
docs: Return server version (``apachectl -v``)
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' apache.version