summaryrefslogtreecommitdiff
path: root/templates/Debian
AgeCommit message (Collapse)Author
2017-07-02Deploy forgotten fallback for debian to avoid upgrade mishapsGabriel Filion
During the change from the monolithic preferences file to the series of snippets in preferences.d, one part was left out possibly as an oversight, which prevents installing packages by mistake that belong to a release that hasn't been explicitely pinned.
2017-07-02Rename "stable" preferences file to "current_codename"Gabriel Filion
The file that we call "stable" can make apt actually pin testing or sid if one of these is the running codename, which is nothing stable. In order to make this file's name more relevant it should be named current_codename.
2017-07-02remove template for main preferences configGabriel Filion
this file is not used anymore. we've moved all of this to preferences.d so the template is useless now, but we forgot to remove it.
2017-02-24define variables in templates with the right styleLouis-Philippe Véronneau
2017-02-24fix variable name (bis)Louis-Philippe Véronneau
2017-02-24fix variable nameLouis-Philippe Véronneau
2017-02-24add new preferences.d templatesLouis-Philippe Véronneau
2016-06-29Drop Debian lenny and squeeze support.Jérôme Charaoui
2016-06-29Fix missing quote in IPADDRESSES assignment in apticron configJérôme Charaoui
2016-06-29Remove redundant symlinks for the Debian apticron template, fixes #2Jérôme Charaoui
2016-06-29Remove redundant symlinks for the Debian listchanges template, fixes #2Jérôme Charaoui
2016-06-29Merge remote-tracking branch 'lelutin-gitlab/backports_follow_debian_url' ↵intrigeri
into shared-master
2016-06-29Merge branch 'merge_debian_preferences_templates'Jérôme Charaoui
Conflicts: manifests/preferences.pp templates/Debian/preferences_jessie.erb templates/Debian/preferences_squeeze.erb templates/Debian/preferences_wheezy.erb
2016-06-27push logic behind apt::repos back in apt::paramsGabriel Filion
The logic in specifying the default value for apt::repos is in the wrong place: it should be in apt::params since this is exactly what this latter class is for. There's no special case that can involve making default the value follow the value of another parameter so there's no point in having that logic in the main class.
2015-12-04move backports to snippetsAntoine Beaupré
this allows for third party modules to enable this on the fly
2015-10-09Fix merge conflict in READMEJerome Charaoui
2015-10-07Merge Debian squeeze, wheezy, jessie and sid preferences templates into oneJerome Charaoui
2015-06-09typoAntoine Beaupré
2015-06-09allow possibility of disabling backportsAntoine Beaupré
2015-05-11Replace debian_*() parser functions with factsJerome Charaoui
* 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-07Adjusted sources.list template: LTS is now 'oldoldstable'Jerome Charaoui
2015-02-20Merge branch 'master' of git://git.puppet.immerda.ch/module-aptJerome Charaoui
Conflicts: templates/Debian/sources.list.erb
2015-02-07Merge remote-tracking branch 'shared/master' into feature/squeeze-ltsintrigeri
2015-02-07Add support for Squeeze LTS.intrigeri
2014-12-05flip around security support for debianGabriel Filion
with the release of squeeze-lts, the current way we deal with security sources is problemaic. by flipping things around we hope to make the files contents more stable.
2014-04-18Merge remote-tracking branch 'shared/master'mh
2014-04-18address puppet 3.x deprecation warningsmh
2014-03-21add apt listchanges template symlink for jessie - same as the othersMicah Anderson
2014-03-21add apticron_jessie symlink, same version in wheezy and sidMicah Anderson
2014-03-21Merge branch 'master' of buse.riseup.net:shared-aptMicah Anderson
2014-03-21add jessie preferences fileMicah Anderson
2013-12-08Drop Debian Etch and Lenny compatibility.intrigeri
Both have been unsupported for ages.
2013-01-02Lookup next_release in template the same way we lookup next_codename.intrigeri
next_release was forgotten when next_codename was fixed.
2012-12-05fix for $lsbdistcodename regression introduced by ↵Micah Anderson
ac166366d7baa45b74e09974289d9fb2dad38e67 What happened here was the $codename = $::lsbdistcodename was removed from init.pp and replaced with just $::lsbdistcodename whereever $codename was used. Then in the sources.list.erb and preferences files things were changed like this: <pre>+### Debian current: <%= codename = scope.lookupvar('::lsbdistcodename') %> ... -deb <%= debian_url %> <%= codename %> <%= repos %> ... +deb <%= debian_url=scope.lookupvar('apt::debian_url') %> <%= codename %> <%= repos=scope.lookupvar('apt::repos') %> </pre> This meant that the codename was always set to lsbdistcodename, and you because in newer puppet versions you cannot assign a value to a top-level facter variable, it is not possible to change this. Because we cannot change $lsbdistcodename, we have to fix this by allowing the user to pass a different, non-top-level scoped variable to the class as a parameter, which defaults to $::lsbdistcodename, so that upgrades can be triggered. This is documented in the README in an upgrade notice
2012-06-18fix auto repo selectionmh
the actual repos are in real_repos as by default we have auto.
2012-06-08refactor things for >2.7mh
2012-06-05new style for 2.7mh
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-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-03Remove pinning for backports on Squeeze.intrigeri
This is now done automatically by APT.
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-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
2010-12-15Apply fix from 67dc9a22 to Squeeze template as well.intrigeri
2010-12-15fix apticron templateMicah Anderson
2010-12-15change $listchanges_* to $apt_listchanges, not nice to clutter up the ↵Micah Anderson
namespace like that
2010-12-12Additionally use version number in Lenny default pinning.intrigeri
Lenny's APT does not support pinning like this: Pin: release o=Debian,n=<%= codename %> We therefore switched (in commit ef2ebdffd) to: Pin: release o=Debian,a=<%= release %> With such a pinning setup, when Squeeze is released, systems using this module with $apt_use_next_release set to true would immediately switch to prefer packages from Squeeze. If an automated upgrade process is setup, they would be automatically upgraded to Squeeze. This does not sound safe to me, so let's use the release version number as an additional selection criterion to prevent upgrades to Squeeze to happen behind our back: Pin: release o=Debian,a=<%= release %>,v=<%= release_version %>* Note that the trailing '*' is intentional and necessary to match stable point-releases.