When activating the cache (with --cached-master-dir option), the CompilationDir filter gets the cache path as the :from_compilation_dir instead of the original compilation dir that was used when the cache was compiled.
Thus the filter doesn't filter out resources that references the compilation dir.
For instance the following resource (from the vox pupuli hiera module):
When running without the cache enabled, the parameter (and resource) above gets properly filtered out.
Platform and version information
Your OS: ubuntu 16.04
Your Ruby version: 2.3.1
Your version of Puppet: 5.5.0
Your version of octocatalog-diff: 1.5.3
Anything else to add that you think will be helpful?
Either the catalog should be rewritten with the cache directory or octocatalog-diff should keep the original compilation dir in the cache so that the CompilationDir could be fed with the correct information.
The text was updated successfully, but these errors were encountered:
When activating the cache (with
--cached-master-diroption), theCompilationDirfilter gets the cache path as the:from_compilation_dirinstead of the original compilation dir that was used when the cache was compiled.Thus the filter doesn't filter out resources that references the compilation dir.
For instance the following resource (from the vox pupuli hiera module):
doesn't get ignored:
When running without the cache enabled, the parameter (and resource) above gets properly filtered out.
Either the catalog should be rewritten with the cache directory or
octocatalog-diffshould keep the original compilation dir in the cache so that theCompilationDircould be fed with the correct information.The text was updated successfully, but these errors were encountered: