@staticmethod<EOL><INDENT>def substitute_params(cfg, params):<DEDENT>
return  Template(cfg).safe_substitute(params)<EOL>
Replaces $ parameters in configuration
:param cfg: configuration (text)
:param params: parameters to substitute
:return: configuration with substituted parameters