code: def server_by_name(name, profile=None, **kwargs):
      '''
      Return information about a server
  
      name
          Server Name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.server_by_name myserver profile=openstack
      '''
      conn = _auth(profile, **kwargs)
      return conn.server_by_name(namef server_by_name(name, profile=None, **kwargs):
      '''
      Return information about a server
  
      name
          Server Name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.server_by_name myserver profile=openstack
      '''
      conn = _auth(profile, **kwargs)
      return conn.server_by_name(name)
docs: Return information about a server
  
      name
          Server Name
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.server_by_name myserver profile=openstack