-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working