albatrossflavour / puppet_os_patching

A Puppet module that provides a set of tasks and custom facts which allows the automation of and reporting on OS patching
Apache License 2.0
44 stars 42 forks source link

The os_patching_fact_generation.sh does not run apt update #217

Closed Perkka2 closed 1 year ago

Perkka2 commented 2 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

Run puppet_os_patching on a fresh Debian 11 install

What are you seeing

There are no updates that gets listed

What behaviour did you expect instead

Output log

Any additional information you'd like to impart

The os_patching_fact_generation.sh script does only run apt upgrade -s which wont return any results since and apt update was not ran beforehand

albatrossflavour commented 1 year ago

I love an issue that can be solved with a one-line addition - just testing it now.