If the unattended_upgrades package is already installed, the debconf seed never gets seeded and auto-updates will never get enabled:
https://github.com/chef-cookbooks/apt/blob/master/recipes/unattended-upgrades.rb#L27
Systems initially provisioned by cloud-init (like recently at DigitalOcean) already have unattended_upgrades installed and auto-update disabled.
If the
unattended_upgradespackage is already installed, the debconf seed never gets seeded and auto-updates will never get enabled:https://github.com/chef-cookbooks/apt/blob/master/recipes/unattended-upgrades.rb#L27
Systems initially provisioned by
cloud-init(like recently at DigitalOcean) already haveunattended_upgradesinstalled and auto-update disabled.