voxpupuli / puppet-unattended_upgrades

Unattended-upgrades for APT
https://forge.puppet.com/puppet/unattended_upgrades
Apache License 2.0
34 stars 75 forks source link

Add only_on_ac_power option to unattended-upgrades.erb #208

Closed jps-help closed 2 years ago

jps-help commented 2 years ago

Pull Request (PR) description

Added an option to control whether unattended-upgrades are run only when AC power is connected. This option is available in the package maintainers config file but wasn't previously controllable with this module. Availability of this option will give the option to ensure updates are run on laptop devices, even if no AC power is connected.

Syntax and unit tests have been run successfully. Had some trouble with beaker, so wasn't able to run the integration tests.

This Pull Request (PR) fixes the following issues

N/A