Add unattended upgrades support
authorGrant Slater <openstreetmap@firefishy.com>
Thu, 31 Dec 2015 08:19:30 +0000 (08:19 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 31 Dec 2015 08:20:49 +0000 (08:20 +0000)
commit0a20dc708587ac216694ef9b3e0632035038cb6e
tree0579b571169747f33e792066a6bbccb56b1ad7be
parentc1a9f6c354f1feb34433134850ecdd4fffe5ba1d
Add unattended upgrades support

Bring unattended-upgrades support into chef. Many of the servers already
have unattended-upgrades installed and partially configured.

By default enable, specifically disable on DB role machines.

Also enable removal of unused dependencies, which is primarily used
for removing unused kernel packages.
cookbooks/apt/attributes/default.rb
cookbooks/apt/recipes/default.rb
cookbooks/apt/templates/default/apt.conf.erb [new file with mode: 0644]
roles/db.rb