Describe the Bug
r10k puppetfile install removes the spec directories of the modules even if in the r10k.yaml configuration file is globally set, that the spec directories should not be removed:
deploy:
exclude_spec: false
It works if in the Puppetfile for every module exclude_spec: false is set.
Expected Behavior
r10k puppetfile install should not remove the spec directories if in the r10k.yaml configuration file is globally set, that the spec directories should not be removed.
Steps to Reproduce
- Setup a Puppetfile with a module, that has a spec directory:
mod 'puppetlabs/apache',
:git => 'https://github.com/puppetlabs/puppetlabs-apache.git',
:ref => 'v12.1.0'
- Setup a r10k.yaml file which disabled spec directory removal:
deploy:
exclude_spec: false
- Run r10k puppetfile install --config=r10k.yaml
Environment
r10k version 4.1.0