':type template: str
:type values: dict[str, str]
:rtype: str'

@staticmethod
def _populate_config_template(template, values):

    for key in sorted(values):
        value = values[key]
        template = template.replace(('@%s' % key), value)
    return template
