code: def set_config_file(name):
      '''
      Sets the configuration's name. This function is intended to be used from
      states.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' syslog_ng.set_config_file name=/etc/syslog-ng
  
      '''
      global __SYSLOG_NG_CONFIG_FILE
      old = __SYSLOG_NG_CONFIG_FILE
      __SYSLOG_NG_CONFIG_FILE = name
      changes = _format_changes(old, name)
      return _format_state_result(name, result=True, changes=changesf set_config_file(name):
      '''
      Sets the configuration's name. This function is intended to be used from
      states.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' syslog_ng.set_config_file name=/etc/syslog-ng
  
      '''
      global __SYSLOG_NG_CONFIG_FILE
      old = __SYSLOG_NG_CONFIG_FILE
      __SYSLOG_NG_CONFIG_FILE = name
      changes = _format_changes(old, name)
      return _format_state_result(name, result=True, changes=changes)
docs: Sets the configuration's name. This function is intended to be used from
      states.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' syslog_ng.set_config_file name=/etc/syslog-ng