| Seems like `ensure_resource` should set file/line information - it does not do that now so the created resources simply lack location information. Could be fixed by reimplementing the function as a 4x function (while not strictly required though) and using the `PuppetStack` to get the calling file/line (caller of `ensure_resource`) and propagating that information onwards should ensure that the conflicting resources have this information. Have not actually tested if that would fix this, but I think it is a good bet. |