summaryrefslogtreecommitdiff
path: root/templates
AgeCommit message (Collapse)Author
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.
2010-12-11Bypass default APT proxy to access bugs.debian.org.intrigeri
This is needed when using apt-listbugs with an APT proxy that only {wants,can} proxy "normal" APT traffic.
2010-12-09fix compile syntax error in ubuntu sources.list, closes #2639Micah Anderson
2010-12-08fix template missing <%- end -%>Micah Anderson
2010-12-08add apt-listchanges support. this is a nice compliment to using the ↵Micah Anderson
upgrade_package functionality, because you get an email when the package has been upgraded.
2010-12-08add apticron support.Micah Anderson
Why apticron, when we have cron-apt already? Some people have different preferences, we use apticron along with the upgrade_package functionality in this module. I know someone who uses cron-apt to run the upgrades, but apticron for notifications, because apticron's notifications are much nicer (cron-apt just gives you the output of apt-get upgrade)
2010-12-07switch to archive name for lenny default preferencesMicah Anderson
the templates/Debian/preferences_lenny.erb file checked in with e2f80db7b76171e5945127e2fd42fb35043990fb contains pinning based on codename, which is not supported in lenny (see #433624 - if you look at the version graph, you see, "Fixed in version 0.7.21", and lenny has 0.7.20.2+lenny1.)
2010-11-21Merge remote branch 'immerda/master'.intrigeri
Conflicts: README files/preferences templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.backports.erb templates/Ubuntu/sources.list.deb-src.erb
2010-11-21Merge commit '92aa5a51e95d74604a40318558aa98f70fcf7720'.intrigeri
A bunch of painlessly merged commits. Conflicts: manifests/init.pp
2010-11-21Merge commit '1b0bc415977c1c8b49390e0cdb1361769e0fdbae'.intrigeri
Merging one more commit. Conflicts: files/preferences templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.backports.erb templates/Ubuntu/sources.list.deb-src.erb
2010-11-21Merge commit 'ac76a5d52df78aec919f08334ca5b140902a9298'intrigeri
(Starting to merge changes from immerda.) Conflicts: manifests/default_sources_list.pp manifests/init.pp
2010-10-28fixing commentsmh
apt preferences actually want // to comment, while sources are fine to be commented with # ...
2010-10-28put the file at the right place & fix typosmh
2010-10-25Change "brought to you" into "managed" in headersGabriel Filion
File headers are there to indicate that the files should not be touched directly on the server. By changing the first sentence to "This file is managed by Puppet", we reinforce the idea that it is already taken care of by something else. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25Include the protocol in the proxy URLGabriel Filion
The current proxy_client template makes it possible to communicate with the proxy only via HTTP. Add the protocol to the variable so that it's possible to change the protocol. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25Add $main_apt_sourceGabriel Filion
Currently, it's either we use the default source that's hardcoded in the sources.list template or we redefine entirely this template. Make it easier to just change the URL of the apt source while using the rest of the default template by adding a $main_apt_source variable. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25Add file headers for awareness of puppet presenceGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25refactor: simplify and remove inline contentGabriel Filion
Simplifications: make apt_conf_snippet repeat less code, make code that generates sources.list more concise. Remove all inline content in favor of templates and static files. The ability to include sources for static files was needed for the main 'preferences' file, so it was added to the preferences_snippet define. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-24Add apt_conf_snippet and use it where possibleGabriel Filion
With the new define, it's easy to add an apt.conf snippet in apt.conf.d It accepts either 'sources' to get a static file or 'content' to define content inline or with the help of a template. Put it to use where we create files in apt.conf.d Finally, fix the dependancy to the apt_config file (however, I don't see the need for this dependancy) Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-17Support choosing a custom Ubuntu mirror.intrigeri
2010-10-17Support $apt_repos for Ubuntu as well.intrigeri
2010-10-17Merge remote branch 'nadir/master' into wipintrigeri
Conflicts: manifests/default_preferences.pp manifests/default_sources_list.pp manifests/init.pp templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.erb
2010-10-17Bring in a bit of Ubuntu support from Nadir.intrigeri
2010-10-10Trim more empty lines.intrigeri
2010-10-10Trim empty lines in template.intrigeri
2010-10-09Fix template syntax.intrigeri
2010-10-09removed backports template in favor of main sources.listnadir
2010-10-06Allow specifying custom mirrors for every supported archive.intrigeri
2010-10-06Bugfix.intrigeri
2010-10-06Add opt-in support for next Debian release sources.intrigeri
2010-10-06Track installed backports upgrades on Lenny and Squeeze.intrigeri
2010-10-06Add per-release preferences files.intrigeri
The previous default pinning preferences only supported tracking stable. Tracking squeeze or sid is now possible.
2010-10-06Remove unneeded template.intrigeri
2010-10-06Add opt-in support for deb-src.intrigeri
2010-10-06Add opt-in support for Debian Volatile.intrigeri
2010-10-06Really use backports as the documentation pretends.intrigeri
2010-10-06Use new variables.intrigeri
2010-09-08backports.org has merged with the normal debian archive, the apt source ↵Matt Taggart
changed and we don't need a separate apt-key for it now
2009-12-17Increased Ubuntu supportVarac
2009-12-13added $apt_volatile_enabled, updated READMEnadir
2009-12-11Added apt::unattended_upgrades class, and extra template for "deb-src"root
2009-12-10added $backports_enabled for including backports repositorynadir
2009-12-10added $backports_enabled for including backports repositoryVarac
2008-09-28Revert "turn preferences into a simple file"Micah Anderson
This reverts commit 0011e70a24ff49169da294b00b6b39b77fb05c86.
2008-09-28set default sources.list to use the most generic mirror. customizedMicah Anderson
mirrors that are closer, or internal proxy mirror configurations should be set in the $custom_sources_list instead so that the default is kept as generic as possible
2008-09-28remove unused and commented out entries in sources.listMicah Anderson
2008-09-28Revert " split out backports and unstable sources.list"Micah Anderson
This reverts commit d203a72afc814bc8aa8a8e30b973d46e0cce8862. Conflicts: templates/sources.list+backports.erb templates/sources.list+unstable.erb
2008-07-03use the closest mirrorAntoine Beaupre
2008-01-25 split out backports and unstable sources.listroot
2008-01-25turn preferences into a simple fileroot