Commit graph

10 commits

Author SHA1 Message Date
Jerome Charaoui
f8980538c1 Improve unattended-upgrades origin selectors
* On squeeze, use release fact instead of hardcoded release name
  * On wheezy, special-case because codename selector is not available
  * On jessie and up, start pulling in point-release updates. The
    codename selector ensures that we won't be upgrading to a new
    release automatically.
2015-10-09 16:39:19 -04:00
Jerome Charaoui
d007a40333 Replace debian_*() parser functions with facts
* Removes dependency on lsb-release and/or Facter >1.7
    (values are based on $::lsbdistcodename, when available)
* Simplifies maintenance: only lib/facter/util/* require updates as new
  releases are made

Caveats:
* apt::codename is removed; to override debian_* facts, set the
  FACTER_debian_codename environment variable for puppet
* If tracking unstable, make sure lsb-release is installed, as other
  methods can't tell between testing and unstable
2015-05-11 12:01:35 -04:00
Jerome Charaoui
87bfb868d7 Avoid unattended security upgrades from stable if running oldstable 2015-05-11 09:55:26 -04:00
Jerome Charaoui
07424069c2 Fix typos in unattended-upgrades template 2015-05-07 12:52:25 -04:00
Jerome Charaoui
90a51c3ef8 Fix 50unattended-upgrades template for squeeze, better pattern for later release 2015-05-06 17:14:53 -04:00
Jerome Charaoui
f1a53bcfa7 Fix error in 50unattended-upgrades.erb syntax, remove lsb fact 2015-05-06 13:40:29 -04:00
Gabriel Filion
6f6e725e60 Add parameter for blacklisting a list of packages.
This functionality was lost because we stopped using a source file for
the 50unattended-upgrades file that would previously let one override
the configuration per release or per host.
2015-04-17 16:43:26 -04:00
Gabriel Filion
0389b11261 unattended-upgrades: use an @ prefix for template variables 2015-04-17 16:42:22 -04:00
Gabriel Filion
d24ca3314f Parametrize unattended-upgrades mail recipient 2015-04-17 15:50:36 -04:00
Gabriel Filion
9192785c45 make it possible to opt out of MailOnlyOnError
This combines all files into one template. It should make maintenance
easier.
2015-04-17 15:50:36 -04:00
Renamed from files/Ubuntu/50unattended-upgrades (Browse further)