Change default 50unattended-upgrades on Debian
* Use squeeze-lts origin on squeeze * All other releases use newer Origins-Pattern format * Drop support for lenny
This commit is contained in:
parent
98ad878c1a
commit
5a8d214529
4 changed files with 10 additions and 37 deletions
|
@ -1,11 +1,11 @@
|
|||
// this file is managed by puppet !
|
||||
|
||||
Unattended-Upgrade::Allowed-Origins {
|
||||
"${distro_id}:stable";
|
||||
"${distro_id}:${distro_codename}-security";
|
||||
"${distro_id}:${distro_codename}-updates";
|
||||
"${distro_id} Backports:${distro_codename}-backports";
|
||||
};
|
||||
Unattended-Upgrade::Origins-Pattern {
|
||||
// "o=Debian,n=${distro-codename}";
|
||||
// "o=Debian,n=${distro-codename}-updates";
|
||||
// "o=Debian,n=${distro_codename}-proposed-updates";
|
||||
"o=Debian,n=${distro_codename},l=Debian-Security";
|
||||
}
|
||||
|
||||
APT::Periodic::Update-Package-Lists "1";
|
||||
APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
// this file is managed by puppet !
|
||||
|
||||
Unattended-Upgrade::Allowed-Origins {
|
||||
"Debian oldstable";
|
||||
"Debian-Security oldstable";
|
||||
};
|
||||
|
||||
APT::Periodic::Update-Package-Lists "1";
|
||||
APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
APT::Periodic::Unattended-Upgrade "1";
|
||||
|
||||
Unattended-Upgrade::Mail "root";
|
||||
|
|
@ -1,9 +1,10 @@
|
|||
// this file is managed by puppet !
|
||||
|
||||
Unattended-Upgrade::Allowed-Origins {
|
||||
"Debian oldstable";
|
||||
"Debian-Security oldstable";
|
||||
"${distro_id} ${distro_codename}-backports";
|
||||
// "${distro-id} oldstable";
|
||||
// "${distro_id} ${distro_codename}-backports";
|
||||
"${distro-id} ${distro-codename}-security";
|
||||
"${distro-id} ${distro-codename}-lts";
|
||||
};
|
||||
|
||||
APT::Periodic::Update-Package-Lists "1";
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
// this file is managed by puppet !
|
||||
|
||||
Unattended-Upgrade::Allowed-Origins {
|
||||
"${distro_id}:stable";
|
||||
"${distro_id}:${distro_codename}-security";
|
||||
"${distro_id}:${distro_codename}-updates";
|
||||
"${distro_id} Backports:${distro_codename}-backports";
|
||||
};
|
||||
|
||||
APT::Periodic::Update-Package-Lists "1";
|
||||
APT::Periodic::Download-Upgradeable-Packages "1";
|
||||
APT::Periodic::Unattended-Upgrade "1";
|
||||
|
||||
Unattended-Upgrade::Mail "root";
|
||||
Unattended-Upgrade::MailOnlyOnError "true";
|
Loading…
Reference in a new issue