Closed estenrye closed 5 years ago
Related Issue: https://github.com/chef-cookbooks/docker/issues/1066
Duplicated by #609 Fixed by #611
@damacus I don't believe #611 fixes this issue, it looks like there are two locations that still end up including the helpers into the global scope.
https://github.com/sous-chefs/apache2/blob/master/resources/default_site.rb#L1 https://github.com/sous-chefs/apache2/blob/master/resources/mod_pagespeed.rb#L1
As well as into the action_class
block at the end of the files.
@teknofire can you see if #678 fixes this now?
Brief Description
There exists a function precedence issue with these methods: https://github.com/chef-cookbooks/docker/blob/d96b54605b845fc5f34068265569b91a7eb2dee6/libraries/docker_service_base.rb#L95 https://github.com/sous-chefs/apache2/blob/2fcb45ec68d3769b824530f21dfb613390a8e1ce/libraries/helpers.rb#L84
Cookbook version
6.0.0
Chef-client version
14.10.9
Platform Details
CentOS 7.6 Running in VMWare CentOS 7.6 Running in Virtualbox
Scenario
Converge a cookbook that depends on both the docker cookbook and the apache2 cookbook version 5.2.2 or later.
Steps to Reproduce
Expected Result
Cookbook should converge without issue.
Actual Result