aboutsummaryrefslogtreecommitdiff
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-11Allow running cron-apt more than once a day.intrigeri
2010-12-11New class: apt::reboot_required_notifyintrigeri
This class installs a daily cronjob that checks if a package upgrade requires the system to be rebooted; if so, cron sends a notification email to root.
2010-12-11Fix formatting.intrigeri
2010-12-11Merge remote branch 'riseup/master'intrigeri
2010-12-11Update comment: Squeeze's unattended-upgrades 0.62 still does not support ↵intrigeri
wildcards.
2010-12-09removed bit from README that is no longer trueMicah Anderson
2010-12-09fix compile syntax error in ubuntu sources.list, closes #2639Micah Anderson
2010-12-09Merge remote branch 'lelutin/master'Micah Anderson
2010-12-08fix syntax errorMicah Anderson
2010-12-08fix template missing <%- end -%>Micah Anderson
2010-12-08fix confusion over lsbrelease / lsbdistcodenameMicah 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-08provide an "03clean" alias for the 03clean_vserver to satisfy dependenciesMicah Anderson
2010-12-08fix typoMicah Anderson
2010-12-07multiple sources for templates are not allowed (see #1818), so revert it to ↵Micah Anderson
a single source referenced by the README, and clarify the README to indicate how you can pass the preseed contents directly
2010-12-07change the name of the custom_keys exec to be "custom_keys" instead of using ↵Micah Anderson
the alias metaparameter. the reason for this change was because the Exec override was not able to find the exec through its alias
2010-12-07update apt::preseeded_package template sources to use $lsbdistcodename ↵Micah Anderson
instead of $debian_release, also expand it to allow for site-apt sources
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-12-07README update: minor typo fixMicah Anderson
2010-12-07README update: clarify that the debian-archive-keyring is managed alreadyMicah Anderson
Just so people are clear that they do not need to specify a $custom_key_dir to manage the debian archive keyring, I've added some clarifying text so you know that this is not necessary
2010-12-07README update: clarify the site-apt preferences optionsMicah Anderson
The README described a few things that were not true relating to the apt/preferences file. First of all it said you could ship a 'file', but preferences.pp very clearly uses the 'content => $custom_preferences' parameter, which will not take file sources, only templates. Secondly, it seemed to imply that you could just drop the custom preferences into your site-apt and it would work. But you actually need to set the $custom_preferences to indicate the content source. Lastly, it said that you could specify a host-specific file in the site-apt module, but there is no facility for this (nor can you use files). Perhaps this is where this module is going eventually, once we have a preferences.d possibility? Until then, it makes more sense to have it reflect the current situation.
2010-12-07format standardizationMicah Anderson
2010-12-07switch the default $debian_url to use the Debian CDN mirror address.Micah Anderson
The CDN checks your IP and uses the Max-Mind geoIP DB to determine your location and then uses your local country Debian Mirror, or if your local country doesn't have a debian mirror, it uses the local continent. It automatically checks and prunes dead mirrors. the technology for the Debian CDN setup is still improving, I believe that ASN-number associations are the next step to attempt to make more informed, finer-grained choices. This is more useful than using ftp.debian.org because that is just a round-robin DNS entry that could get you any mirror anywhere.
2010-12-07Set dselect DSelect::Clean to 'pre-auto' by default for hosts that are vservers.Micah Anderson
Before you only had the choice of setting a 03clean apt configuration for either all hosts, or every single host. Setting it to have the recommended settings for vservers for all hosts meant that you were setting it for non-vservers as well as vservers. The other option you had was to set it per host. This was a bit annoying if you have any more than one vserver because you would need to create a 03clean for every single vserver guest. This change auto-detects if the node is a vserver, and if it is it automatically installs the 03clean_vserver file, with the recommended DSelect::Clean settings, and allows you to override this for all of your vservers, or for specific hosts.
2010-11-29apt_conf: change mode to 644Gabriel Filion
Current mode (600) makes it impossible to use apt-cache to search for package names and info, since it tries to read all configuration files in /etc/apt/apt.conf.d before executing. Change configuration file mode to 644 so that search tasks can be made without root priviledge.
2010-11-24minor README fixupsMicah Anderson
2010-11-21Bugfixintrigeri
2010-11-21Fix typo and rephrase.intrigeri
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 'e2578c3b9820e9ff17f8a8881b8b22b5e241ee21'.intrigeri
My branch already has support for defining custom APT mirrors location. See $apt_debian_url, $apt_security_url, $apt_backports_url, $apt_volatile_url. => Discarding the addition of $main_apt_source.
2010-11-21Merge commit '3c88b19dd33b4da1f37e2c08c981ccbcbe5a45a8'.intrigeri
Conflicts: manifests/init.pp
2010-11-21Merge commit '27d5808299045ebd6f428e7d8131d11d9ab37712'.intrigeri
One more painless merge commit. 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 'd97a49b7b2c020c2c43df6524236f50a421789ee'.intrigeri
Going on merging immerda changes. Incompatible change: I do prefer my own generic apt/preferences template to shipping a static file that only supports Lenny. My own template supports security, backports, volatile, next release etc. Conflicts: files/preferences manifests/init.pp manifests/preferences.pp
2010-11-21Merge commit 'ac76a5d52df78aec919f08334ca5b140902a9298'intrigeri
(Starting to merge changes from immerda.) Conflicts: manifests/default_sources_list.pp manifests/init.pp
2010-11-10Do not refresh APT lists on every run.intrigeri
Let's set refreshonly on the 'update_apt' Exec (aliased to 'apt_updated') instead of removing it for backward compatibility: it may be in use at some places to trigger updates.
2010-11-10Merge remote branch 'nadir/master'intrigeri
Conflicts: README manifests/custom_sources.pp manifests/default_preferences.pp manifests/init.pp manifests/unattended_upgrades.pp templates/Debian/sources.list.volatile.erb
2010-10-28unfortunately no comments are allowed in that filemh
2010-10-28fixing commentsmh
apt preferences actually want // to comment, while sources are fine to be commented with # ...
2010-10-28Revert "remove comments as lenny apt doesn't like them"mh
This reverts commit 5de6431b89b696ce17874952dceb5968108449a9. Actually the comments are just the wrong way...
2010-10-28remove comments as lenny apt doesn't like themmh
I got errors like: E: Syntax error /etc/apt/apt.conf.d/03clean:4: Extra junk after value Removing these comments fixed these problems.
2010-10-28put the file at the right place & fix typosmh
2010-10-25Correct some errors in the READMEGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
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-25Update the READMEGabriel Filion
Include new classes and defines and move things around for a little bit of consistency. Also remove the now unused variables. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25Ensure presence of sources.list.d and watch itGabriel Filion
Add a file resource on the apt/sources.list.d directory to ensure that it is created as a directory and watch it for modifications to automatically refresh the apt cache. Signed-off-by: Gabriel Filion <lelutin@gmail.com>