In Puppet 4.x one could use a resource collector to override parameters of a file resource, but this is no longer working in 5.x. The failure occurs when there is a resource default in the manifest with the virtual resource and a collector override that specifies the same value.
Below are example manifests that cause the failure.
The result of the example above is that the mode of the file is `0750` instead of the expected `0755`.
When there is no default file resource in the example above, the override works correctly:
The result is a file with `0755` permissions.
This behavior was not seen with Puppet 4.x, so it appears to be a regression in 5.x.