Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package inventory lists installed packages for multiple providers #60

Open
bastelfreak opened this issue Oct 9, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@bastelfreak
Copy link

Describe the Bug

I enabled the package collection in hiera via:

---
puppet_enterprise::profile::agent::package_inventory_enabled: true

But some packages are listed multiple times:

2024-10-09_11-11

There are packages, for example the famous toml gem, that often get installed with the puppet_gem provider and the puppetserver_gem. So the toml package is actually installed twice. For rpm vs dnf, this isn't correct. The packages were only installed via dnf and are only installed once, not twice. This is an issue for all installed rpms. I think the package collector should only list the provider or the highlevel provider. The same problem exists on Debian based machines with dpkg vs apt.

Expected Behavior

Packages that are installed only once should only be installed once.

Steps to Reproduce

  • install PE 2021.7.9 or 2023.8.0
  • Enable package collector
  • run puppet agent again
  • check web ui

Environment

  • RHEL 8
  • PE 2023.8.0

Additional Context

Add any other context about the problem here.

@bastelfreak bastelfreak added the bug Something isn't working label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant