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

apt_security_updates fact is missing if no other updates available #1061

Open
jamesps-ebi opened this issue Sep 15, 2022 · 0 comments
Open

Comments

@jamesps-ebi
Copy link

Describe the Bug

For hosts that have no pending updates (neither security, or other), the 'apt_security_updates' fact is not reported.
By comparison, if a host has no pending security updates, but has other updates pending, the 'apt_security_updates' fact is reported with a value of 0

Expected Behavior

The 'apt_security_updates' fact should always be reported, even if there are no updates pending.

Steps to Reproduce

Steps to reproduce the behavior:

  1. From any debian-based host, install all pending updates (security and non-security).
  2. Force check-in with Puppet server
  3. View reported facts on the Puppet server.

Environment

  • Module Version 9.0.0
  • Agent Platform Ubuntu 20.04 and 22.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants