Closed pmuller closed 5 years ago
I found the bug.
gitModule.link (the :control_repo feature) was correctly set, but
gitModule.branch was also set to the string :control_branch
.
This combined with the order of the conditions here: https://github.com/xorpaul/g10k/blob/a6d6d70f99db7e18012e9a85cc5f1a68a7c1e296/puppetfile.go#L319-L327 means that the :control_branch feature was completely skipped.
I've also released a version including this fix https://github.com/xorpaul/g10k/releases/tag/v0.5.9
Please test it.
I confirm it pass my test case perfectly. Thank a lot! :)
Test environment
r10k works as expected
g10k doesn't honor the control_branch parameter