aboutsummaryrefslogtreecommitdiff
path: root/files/lucid/50unattended-upgrades
blob: 9c22a6499879ac8ed4c737e0202fecd5a6f64bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// this file is managed by puppet !
//
//See https://wiki.ubuntu.com/AutomaticUpdates for more details about this feature.

// allowed (origin, archive) pairs
Unattended-Upgrade::Allowed-Origins {
     "Ubuntu lucid-security";
     "Ubuntu lucid-updates";
};

APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";
Unattended-Upgrade::Mail "root";
Unattended-Upgrade::MailOnlyOnError "true";

APT::UnattendedUpgrades::LogDir "/var/log/";
APT::UnattendedUpgrades::LogFile "unattended_upgrades.log";

Unattended-Upgrade::Package-Blacklist {
	// we don't want the kernel to be updated so nagios still can give a warning if there is
	// a manual update (and reboot) left

        "linux-image-*";

	// unfortunately there seems to be a bug in unattended-upgrades <= 0.62 that wildcards aren't recognized:
	//2009-12-11 13:41:43,267 INFO Initial blacklisted packages: linux-image-*
	//2009-12-11 13:41:43,267 INFO Starting unattended upgrades script
	//2009-12-11 13:41:43,267 INFO Allowed origins are: ["['Debian', 'stable']", "['Debian-Security', 'stable']"]
	//2009-12-11 13:41:45,233 INFO Packages that are upgraded: linux-image-2.6.26-2-amd64
	//2009-12-11 13:41:45,233 INFO Writing dpkg log to '/var/log/unattended-upgrades-dpkg_2009-12-11_13:41:45.233713.log'
	//2009-12-11 13:42:11,988 INFO All upgrades installed

};