- Overview
- Setup - The basics of getting started with rpm_last_updated
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This package is a puppet module that finds the last time an RPM was installed on the system and logs it as a puppet fact in a manner consumable by the satellite server
- This is designed to create a puppet fact that is loaded into the satellite server and be queried for reporting purposes
- Install in /etc/puppet/modules
- build using puppet build rpm_last_updated
- push puppet module into a puppet repo on the satellite server
(module would be at /etc/puppet/modules/rpm_last_updated/pkgs)
-
You would then be able to attach this module to servers via content views
-
once the module is set up and runs against your servers, you will be able to run a query against the satellite to find last updated server by
hammer fact list --search "fact = rpm_last_updated"
Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.
This module queries the RPM database to find the most recent updated rpm and loads it into the puppet custom fact: rpm_last_updated
This was tested on RHEL 7 and satellite 6.2.7
Since your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.
If you aren't using changelog, put your release notes here (though you should
consider using changelog). You may also add any additional sections you feel are
necessary or important to include here. Please use the ##
header.