summaryrefslogtreecommitdiff
path: root/README
AgeCommit message (Collapse)Author
2010-12-15Repair Exec['update_apt'] to run apt-get update when needed.intrigeri
Move this Exec to a dedicated class that is not included by default i.e. we default not to "apt-get update" on every Puppet run. We now make use of this class in the apt::upgrade_package define to make sure APT indexes are up-to-date before attempting package upgrades. One may now use the following to ensure current packages are installed by Package resources: include apt::update Package { require => Exec[apt_updated] }
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-09removed bit from README that is no longer trueMicah 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-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-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-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-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-24minor README fixupsMicah Anderson
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-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-25Correct some errors in the READMEGabriel Filion
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-21Merge remote branch 'lelutin/master'mh
Integrate no custom preference into our new way to manage the preferences. Conflicts: README manifests/default_preferences.pp manifests/init.pp
2010-10-18Make it possible to ensure preferences is absentGabriel Filion
The current code makes it mandatory to have a file /etc/apt/preferences present. In the event that this file is empty or contains a space, apt-get update cannot execute. Add a case with the special value "false" that ensures the file does not exist. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-17minor improvements, especially do not refresh apt every runmh
2010-10-17improve examplemh
2010-10-17introduce preferences snippetmh
Now, we have the possibility to externally add snippes, so that we can preferences for packages that are for example only in backports or unstable.
2010-10-17Support choosing a custom Ubuntu mirror.intrigeri
2010-10-17Migrate config file to line-editing.intrigeri
This allows other modules to add lines there too.
2010-10-17Bring in a bit of Ubuntu support from Nadir.intrigeri
2010-10-17Rename $apt_use_volatile to $apt_volatile_enabled.intrigeri
This will help merging with Nadir's changes.
2010-10-10Add support for customizing the repos list (main, contrib, etc.)intrigeri
The templates already made use of it, but the code didn't set a default value.
2010-10-06Add cron-apt support.intrigeri
2010-10-06Allow specifying custom mirrors for every supported archive.intrigeri
2010-10-06Add opt-in support for next Debian release sources.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-06Add opt-in support for deb-src.intrigeri
2010-10-06Add opt-in support for Debian Volatile.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
2010-09-02Merge remote branch 'immerda/master'Micah Anderson
Conflicts: manifests/init.pp
2009-12-10removed forked message from README, doesnt make sense hereMicah Anderson
2009-12-10added $backports_enabled for including backports repositoryVarac
2009-10-30introduce a class to manage unattended-upgradesmh
2008-09-29reformat the README to be easier on the eyesMicah Anderson
add more detailed information for $custom_sources_list with an example add information about $custom_preferences with an example add information about $custom_key_dir add information about the apt::preseeded_package resource add information about the apt::upgrade_package resource
2007-10-08Fix some grammarMicah Anderson
2007-09-14add $custom_sources_list to override sources.list contentsroot
2007-08-16Add README to apt moduleDavid Schmitt
additionally use modules_dir and remove legacy file removal
2007-06-25modularised aptdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@58 f03ff2f1-f02d-0410-970d-b9634babeaa1