def render(self, template, opts=None): _config = minion_config(None) _config['file_client'] = 'local' if opts: _config.update(opts) _state = salt.state.State(_config) return compile_template_str(template, _state.rend, _state.opts['renderer'])
def render(self, template, opts=None): _config = minion_config(None) _config["file_client"] = "local" if opts: _config.update(opts) _state = salt.state.State(_config) return compile_template_str( template, _state.rend, _state.opts["renderer"], _state.opts["renderer_blacklist"], _state.opts["renderer_whitelist"], )