git
git copied to clipboard
build-essential recipe not included in execution when git:source is included in a wrapper cookbook
Cookbook version
4.4.1
Chef-client version
12.9.38 & 12.6.0
Platform Details
CentOS 6.7
Scenario:
Wrapper cookbook that include git::source
Steps to Reproduce:
Create a wrapper cookbook that has more than 1 cookbook dependent on 'build-essential'
Expected Result:
Compilation fails because 'cc' cannot be found.
Actual Result:
https://gist.github.com/Sauraus/d7f97bc674b472aa9abb058bcfc12e45#file-git-source-compilation-error-L77
Take note in the above log, the entire call to 'build-essential' as defined here: https://github.com/chef-cookbooks/git/blob/master/libraries/provider_git_client_source.rb#L10 is missing from the log. It looks like the chef-client decided to not execute the 'build-essential' recipe at that point because most likely it is being included in another recipe further down the chain.
I also have this issue, CentOS 6.7, Chef 12.6.0
Anyone from Chef around to look at this?
Is this still a problem with the current version of the cookbook and current version of chef-client?