def write_config(config, newlines=2):
    succ = _write_config(config, newlines)
    changes = _format_changes(new=config)
    return _format_state_result(name='', result=succ, changes=changes)
Writes the given parameter config into the config file. This function is
dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/write_config