Viewing and managing packages
The Packages page in the console shows all packages in use across your infrastructure by name, version, and provider, as well as the number of instances of each package version in your infrastructure. Use the Packages page to quickly identify which nodes are impacted by packages you know are eligible for maintenance updates, security patches, and license renewals. Package management is available for all agent nodes.
puppet resource
command
to search for package
.Enable package data collection
Package data collection is disabled by default, so the Packages page in the console initially appears blank. In order to view a node's current package inventory, enable package data collection.
You can choose to collect package data on all your nodes, or just a subset. Package inventory reporting is available on nodes with Puppet agent 1.6.0 or later installed, including nodes that don't have an active configuration on the Puppet Server.
View and manage package inventory
To view and manage the complete inventory of packages on your systems, use the Packages page in the console.
Make sure you have enabled package data collection for the nodes you wish to view.
node-purge-ttl
period has not yet elapsed, instances of
the package still appear in summary counts on the Packages page. To correct this issue, adjust the
node-purge-ttl
setting and run
garbage collection. View package data collection metadata
The puppet_inventory_metadata
fact reports whether package data
collection is enabled on a node, and it shows the time spent collecting package data on the node
during the last Puppet run.
Disable package data collection
If you need to disable package data collection, set
package_inventory_enabled to false
and run Puppet twice.