aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-16use oldstable for lenny, force unattended upgradesvarac
2012-12-16refactor 50unattended-upgrades default filevarac
The syntax is valid from v0.70 on (Debian Wheezy, Ubuntu Oneiric and later). It includes Unattended-Upgrade::Origins-Patterns both for Debian and Ubuntu, which even work on systems with both package sources enables. On Debian- or Ubuntu-only systems it doesn't hurt to have both Patterns included.
2012-12-16from Ubuntu oneiric (11.10) on, the 50unattended-upgrades default can be usedvarac
2012-12-1550unattended-upgrades: ubuntu quantal, symlink to precisevarac
2012-12-1550unattended-upgrades: ubuntu precise versionvarac
2012-12-1550unattended-upgrades: squeeze versionvarac
2012-12-1550unattended-upgrades: lenny versionvarac
2012-12-15Replaced fallback file for unattended-upgradesvarac
with a decent one for wheezy onwards. The main syntax shouldn't change, hopefully, from now on. It's a very basic generic one, that uses variables for Distribution/Codename and should apply to all coming distributions. Removed from the default 50unattended-upgrades ---------------------------------------------- - APT::Periodic::Update-Package-Lists "1"; - APT::Periodic::Unattended-Upgrade "1"; cause this is not something the unattended upgrades class should set by default. - APT::UnattendedUpgrades::LogDir "/var/log/"; - APT::UnattendedUpgrades::LogFile "unattended_upgrades.log"; Because we shouldn't change the default logdest by default, which is /var/log/unattended_upgrades/*. - Blacklist for linux-image*, because this we shouldn't blacklist packages by default.
2012-08-08update README to reflect the requirement of the lsb moduleMicah Anderson
2012-06-18Make apt::preferences_snippet support Puppet < 2.7 again, when the 'package' ↵intrigeri
parameter is not set. Details: https://labs.riseup.net/code/issues/3467 https://labs.riseup.net/code/issues/3468
2012-06-08Allow passing arbitrary Pin value to apt::preferences_snippet.intrigeri
Closes: Redmine#3467.
2012-06-08Support multiple APT preferences snippets for the same package name pattern.intrigeri
This is implemented by adding a "package" parameter to apt::preferences_snippet, so that define names can be kept unique while the package names are not necessarily. Closes: Redmine#3468.
2012-06-08Migrate - in class names to _mh
In newer puppet releases the old way to name class/modules with a -, won't anymore be supported. Conflicts: manifests/unattended_upgrades.pp
2012-05-20Changing ubuntu preferences templates to symlinksSilvio Rhatto
2012-05-20Adding precise templateSilvio Rhatto
2012-05-20Adding preferences_oneiric.erbSilvio Rhatto
2012-04-21Apply GPL-v3 licenseGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-11Fix formatting.intrigeri
2012-04-11Depend on our shared concat module rather than ripienaar's one.intrigeri
Most of us are likely to use and test against the former.
2012-04-11use correct references for new concat usagemh
2012-04-11use the correct namemh
2012-04-11migrate concatenated_file to the concat modulemh
2012-04-09Force an apt-get update when changing an apt::sources_listGabriel Filion
sources_list doesn't currently force puppet to run 'apt-get update' after creating/modifying/removing files in sources.list.d. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-09Refactor: manage .d directories when using sources_list and apt_confGabriel Filion
The .d directories are only managed by the main 'apt' class. However, both 'sources_list' and 'apt_conf' defines depend on those directories. So in practice, the defines have an implicit need for those directories to be somehow managed. Let's turn this into an explicit relation, and include the directories in the defines. This makes it possible to use both defines without having to include the main 'apt' class. (maybe when using puppet apply?) Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-01-09Enable Unattended-Upgrade::MailOnlyOnError (Closes Redmine#3740).intrigeri
2011-10-06Add apticron.conf template for Debian sid.intrigeri
2011-10-06Add listchanges.conf template for Debian sid.intrigeri
2011-06-20Add preferences, listchanges, apticron templates for Debian Wheezy.intrigeri
2011-05-07Add empty line at the end of preferences templates.intrigeri
... else the first block added by apt::preferences_snippet is in the same paragraph as the last block provided by the template.
2011-04-25Revert "apt::custom_sources_template to deploy custom sources.list.d/xyz.list"intrigeri
This reverts commit 3c0499b78d1f671fcce13127ef14b1b662a48c5a. This was already provided by sources_list.pp.
2011-04-23Merge remote-tracking branch 'nadir/master'Micah Anderson
2011-04-23Merge remote-tracking branch 'immerda/master'Micah Anderson
2011-04-23Debian sources: don't use next release's backports.intrigeri
The APT pinning we ship does not support that, and this seems a bit too much of a corner case to me to deserve being supported out-of-the-box. Anyone willing to use current release + next release + next release backports (e.g. Lenny + Squeeze + squeeze-backports) can anyway do so using apt::sources_list and apt::preferences_snippet. https://labs.riseup.net/code/issues/2856 is the bug that triggered this change.
2011-04-14README fix - we should use template not an urlmh
2011-04-03Remove pinning for backports on Squeeze.intrigeri
This is now done automatically by APT.
2011-04-02Possibility to delpoy release related config fileroot
2011-04-02Merge branch 'master' of git://labs.riseup.net/shared-aptroot
2011-02-18apt::cron::dist-upgrade: silently keep old version of conffiles.intrigeri
This makes this class' behaviour consistent with the apt::dist_upgrade one and prevents stalled upgrades due to dpkg asking questions to a dumb robot.
2011-02-16Merge branch 'master' of git://labs.riseup.net/shared-aptroot
2011-02-14Debian Squeeze pinning: pin squeeze-updates as much as regular squeeze.intrigeri
The previous template was indeed ensuring no package from squeeze-updates could be easily or automatically installed.
2011-02-07Stop hard-coding Wheezy name in Squeeze's pinning template.intrigeri
Every needed function has been updated since Squeeze was released and we can thus use a nice generic template.
2011-02-07debian_nextcodename: take into account Squeeze was released.intrigeri
2011-02-07debian_release_version: add Squeeze's version number.intrigeri
2011-02-07Starting from Squeeze, Debian Volatile is deprecated in favor of ↵intrigeri
CODENAME-updates. Take this into account in the Debian sources.list template: - go on using volatile.d.o for <= Lenny sources lines - start using CODENAME-updates for Squeeze and newer. Reference: http://lists.debian.org/debian-volatile/2011/01/msg00008.html
2011-02-06Update debian_release function since Squeeze has been released.intrigeri
2011-01-29updated Ubuntu preferences to include security + updatesvarac
2011-01-23preferences.pp for ubuntu maverickvarac
2011-01-09apt::custom_sources_template to deploy custom sources.list.d/xyz.listnadir
2011-01-08Make sources snippets world-readable.intrigeri
Not doing this breaks big parts of functionality, such as aptitude why.
2010-12-18add -q to the apt-get invocation in upgrade_package.pp, also switch to using ↵Micah Anderson
-y instead of --force-yes. this way we are acting in the same way as the dist_upgrade class