This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Description
Checking the unattended-upgrades init script I can see:
start|restart|force-reload|status)
# nothing, just to keep update-rc.d happy (see debian #630732)
;;
Is it then required to have:
service { $package:
ensure => running,
subscribe => [ File[$conf_path], File[$apt_path], Package[$package], ],
}
as it doesn't do anything? It just starts the service on every puppet run:
Notice: /Stage[main]/Unattended_upgrades/Service[unattended-upgrades]/ensure: ensure changed 'stopped' to 'running'
Debug: /Stage[main]/Unattended_upgrades/Service[unattended-upgrades]: The container Class[Unattended_upgrades] will propagate my refresh event
Info: /Stage[main]/Unattended_upgrades/Service[unattended-upgrades]: Unscheduling refresh on Service[unattended-upgrades]
OS: Debian Jessie