Closed erobhal closed 2 years ago
It looks like the only reason you can't do this with the current implementation is that you can't have whitespace between the +
and the map name. Is that right?
That is correct
@erobhal thanks for the PR. can you maybe add a unit test for the change to verify the created file? Do you think this is a breaking change?
@bastelfreak Been a while since I coded puppet modules and I have never used puppet acceptance tests, so not sure how to do that. The change should not affect mappings not using a plus sign as key so I can't see that it would break anything.
@bastelfreak Have included acceptance test now. I hope I figured it out. Looks ok in the testlogs as far as I can tell.
thanks for the work!
Pull Request (PR) description
Allows inclusion of +auto.master in /etc/auto.master by adding this to the 'mapfiles' property:
This Pull Request (PR) fixes the following issues