docs: def set_syslog_server(server=None, type="primary"):
      '''
      Set the SYSLOG server on the host.
  
      Args:
          server(str): The hostname or IP address of the SYSLOG server.
  
          type(str): Specifies the type of SYSLOG server. This can either be primary (default) or secondary.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' cimc.set_syslog_server foo.bar.com
  
          salt '*' cimc.set_syslog_server foo.bar.com primary
  
          salt '*' cimc.set_syslog_server foo.bar.com secondary
  
      '''
  
      if not server:
          raise salt.exceptions.CommandExecutionError("The SYSLOG server must be specified.")
  
      if type == "primary":
          dn = "sys/svc-ext/syslog/client-primary"
          inconfig = """<commSyslogClient name='primary' adminState='enabled'  hostname='{0}'
          dn='sys/svc-ext/syslog/client-primary'> </commSyslogClient>""".format(server)
      elif type == "secondary":
          dn = "sys/svc-ext/syslog/client-secondary"
          inconfig = """<commSyslogClient name='secondary' adminState='enabled'  hostname='{0}'
          dn='sys/svc-ext/syslog/client-secondary'> </commSyslogClient>""".format(server)
      else:
          raise salt.exceptions.CommandExecutionError("The SYSLOG type must be either primary or secondary.")
  
      ret = __proxy__['cimc.set_config_modify'](dn, inconfig, False)
  
      return ret