|
A resource defined as File['/tmp/test/'] will yield different results for the #uniqueness_key when the resource is added to the catalog as a result of a compilation and added to a catalog as the result of a call to Catalog#to_ral. The former case will retain the trailing slash in the key whereas the latter will remove it.
This is a problem because a compile might add two resource to the catalog (same path, but with and without trailing slash) and a subsequent apply will then crash on an alias conflict.
The solution probably involves a rewrite of the logic dealing with namevar and parameters.
|