You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have stdlib as the only module in your Puppetfile and use one of its functions eg fact()
do a run spec and witness tests passing
remove stdlib from your Puppetfile, so there's no modules listed at all
do a run spec
Expected result:
test failure due to stdlib being missing
Actual result:
tests keep passing because stdlib module still resides at: .onceover/etc/puppetlabs/code/environments/production/modules/stdlib
with a symlink to that dir at: .onceover/spec/fixtures/modules/stdlib
In fact, the debug run still shows it is faithfully maintaining that symlink too:
DEBUG -> Symlinking /Users/jesse/src/puppet/gems/onceover/tmp/control-repos/simple/.onceover/etc/puppetlabs/code/environments/production/modules/stdlib to /Users/jesse/src/puppet/gems/onceover/tmp/control-repos/simple/.onceover/spec/fixtures/modules/stdlib
The text was updated successfully, but these errors were encountered:
jessereynolds
changed the title
modules installed by r10k are not removed when removed from Puppetfile
modules installed by r10k are not removed when removed from Puppetfile if Puppetfile contains no other modules
Aug 29, 2017
Steps to reproduce:
run spec
and witness tests passingrun spec
Expected result:
Actual result:
.onceover/etc/puppetlabs/code/environments/production/modules/stdlib
with a symlink to that dir at:
.onceover/spec/fixtures/modules/stdlib
In fact, the debug run still shows it is faithfully maintaining that symlink too:
DEBUG -> Symlinking /Users/jesse/src/puppet/gems/onceover/tmp/control-repos/simple/.onceover/etc/puppetlabs/code/environments/production/modules/stdlib to /Users/jesse/src/puppet/gems/onceover/tmp/control-repos/simple/.onceover/spec/fixtures/modules/stdlib
The text was updated successfully, but these errors were encountered: