'Retrieve auto_conf templates'

def _populate_auto_conf(self):

    raw_templates = get_auto_conf_images(full_tpl=True)
    for (image, tpls) in raw_templates.iteritems():
        for (check_name, init_tpl, instance_tpl) in zip(*tpls):
            if (image in self.auto_conf_templates):
                if (check_name in self.auto_conf_templates[image][0]):
                    log.warning(('Conflicting    templates    in    auto_conf    for    image    %s    and    check    %s.    Please    check    your    template    files.' % (image, check_name)))
                    continue
                self.auto_conf_templates[image][0].append(check_name)
                self.auto_conf_templates[image][1].append(init_tpl)
                self.auto_conf_templates[image][2].append(instance_tpl)
            else:
                self.auto_conf_templates[image][0] = [check_name]
                self.auto_conf_templates[image][1] = [(init_tpl or {})]
                self.auto_conf_templates[image][2] = (instance_tpl or [{}])
