Closed nmburgan closed 9 months ago
The metadata says the lower bound is Puppet 7.0.0. I don't think we'll bring back Puppet 6 support but if we claim 7.0.0, that should work. Or we should raise it.
Thanks @nmburgan for reporting this with detailed summary as well as proposing the solution too. Have raised internal ticket and will priorities the same.
Describe the Bug
This breaks compatibility with pre-7.17 agents, as this was not implemented until then. For example, when the postgresql module uses it with a Puppet 6 agent:
May want to do something like this instead:
fragment_content = r[:content].respond_to?(:resolve) ? r[:content].resolve : r[:content]
I know the metadata says this version requires Puppet 7 at least, but I think this might be the only bit that breaks Puppet 6.
Expected Behavior
Concat works correctly with pre-Puppet 7.17 agents.