[DRE-maint] Bug#804911: Incorrect chai dependency on chef package in jessie
Noah Kantrowitz
noah at coderanger.net
Fri Nov 13 16:39:56 UTC 2015
> On Nov 13, 2015, at 3:20 AM, Antonio Terceiro <terceiro at debian.org> wrote:
>
> Control: retitle -1 chef: ohai resource broken in Jessie
> Control: tag -1 + patch pending
>
> Hi, thanks for reporting this.
>
> On Thu, Nov 12, 2015 at 11:51:10AM -0800, Noah Kantrowitz wrote:
>> Package: chef
>> Version: 11.12.8-2
>>
>> Chef 11.12.8 clearly states that it depends on Ohai at least 7.0.4
>> (https://github.com/chef/chef/blob/11.12.8/chef.gemspec#L20). As it
>> stands, the jessie package depends on Ohai >= 6 and the packaged
>> version is a 6.x. This results in the ohai resource being
>> non-functional as it uses an API added in Ohai 7.0.0. Either Chef
>> needs to be patched to not use this API (Ohai::System#all_packages
>> with an argument) or the Ohai dependency needs to be corrected.
>
> Would you please test the package from
> https://people.debian.org/~terceiro/chef-jessie/ and let me know it
> works for you?
>
> I have applied the attached patch, and tested a basic usage of the ohai
> resource which worked for me; if you confirm your use case is fixed I
> will make a stable update with those changes.
I'm just the messenger here, you'll have to test your patches yourself. I help with
Chef's IRC user support, and this was reported by an end-user that was confused
at some community cookbooks not working. You can try running the chai::default
recipe as that was the one reported to be failing, but I'll point out again that you
are shipping the wrong version of Ohai.
--Noah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151113/5d3355be/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list