pass conf template as a parameter

pass the config template as a parameter