chef / ohai

Ohai profiles your system and emits JSON
https://docs.chef.io/ohai.html
Apache License 2.0
681 stars 452 forks source link

packages provider inconsistent results #819

Open glensc opened 8 years ago

glensc commented 8 years ago

Description

i find debian packages listing inconsistent with one that rpm provides.

ideally i'd see:

rpm system:

# knife node show fqdn -a packages
pld:
  packages:
    glibc-misc:
      release: 21
      version: 2.3.6
    glibc64:
      release: 21
      version: 2.3.6

debian-7 system:

# knife node show fqdn -a packages
debian:
  packages:
    acpi:
      version: 1.6-1
    zlib1g:amd64:
      version: 1:1.2.7.dfsg-13

Ohai Version

Ohai: 7.4.0, but packages is taken from ohai that was merged in v8.9.0 lib/ohai/plugins/packages.rb

Platform Version

Debian 7

glensc commented 8 years ago

820 was merged adding:

however, there's still todo: