Working with chef resource deploy, faced several issues with Git provider, for examples
- enable_submodule does not work properly
- it does not get the latest code from submodules
- it does not allow you to choose specific branch and sha of any submodule
- in fact for main repo it does not allow you to switch to any specific branch and sha
- for some reason it says branch=version, who knows why ….
I tried correcting all above, and below is one of my examples, its working for me