diff options
author | Micah Anderson <micah@leap.se> | 2014-11-04 11:34:42 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2014-11-04 11:39:20 -0500 |
commit | c150fa3eb79d822850205c0178de9bb5f422ae01 (patch) | |
tree | 2a2ed86e977b21d8c825eaf2069dfb3db802f611 /puppet/modules/site_apt/files | |
parent | 18f5d6ea49446f214cbb764ea223f427aafd641e (diff) |
add local 50unattended-upgrades to fix unattended-upgrades not upgrading
leap packages (#4425)
Change-Id: I78c00c4410ff9f712206f95854d8803e43acb286
Diffstat (limited to 'puppet/modules/site_apt/files')
-rw-r--r-- | puppet/modules/site_apt/files/Debian/50unattended-upgrades | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/files/Debian/50unattended-upgrades b/puppet/modules/site_apt/files/Debian/50unattended-upgrades new file mode 100644 index 00000000..f2f574fc --- /dev/null +++ b/puppet/modules/site_apt/files/Debian/50unattended-upgrades @@ -0,0 +1,16 @@ +// 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"; + "leap.se:stable"; +}; + +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"; |