code: def show_frontends(socket=DEFAULT_SOCKET_URL):
      '''
      Show HaProxy frontends
  
      socket
          haproxy stats socket, default ``/var/run/haproxy.sock``
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' haproxy.show_frontends
      '''
      ha_conn = _get_conn(socket)
      ha_cmd = haproxy.cmds.showFrontends()
      return ha_conn.sendCmd(ha_cmdf show_frontends(socket=DEFAULT_SOCKET_URL):
      '''
      Show HaProxy frontends
  
      socket
          haproxy stats socket, default ``/var/run/haproxy.sock``
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' haproxy.show_frontends
      '''
      ha_conn = _get_conn(socket)
      ha_cmd = haproxy.cmds.showFrontends()
      return ha_conn.sendCmd(ha_cmd)
docs: Show HaProxy frontends
  
      socket
          haproxy stats socket, default ``/var/run/haproxy.sock``
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' haproxy.show_frontends