def METHOD_NAME(self, regexp, subst):
    self.do_path_regex_sub(
        "/etc/heat/*",
        regexp, subst)
    self.do_path_regex_sub(
        self.var_puppet_gen + "/etc/heat/*",
        regexp, subst
    )
    self.do_path_regex_sub(
        self.var_puppet_gen + "_api/etc/heat/*",
        regexp, subst
    )
    self.do_path_regex_sub(
        self.var_puppet_gen + "_api_cfn/etc/heat/*",
        regexp, subst
    )