Skip to content

build-essential recipe not included in execution when git:source is included in a wrapper cookbook #101

@Sauraus

Description

@Sauraus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions