summaryrefslogtreecommitdiff
path: root/files
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.
2015-04-17make it possible to opt out of MailOnlyOnErrorGabriel Filion
This combines all files into one template. It should make maintenance easier.
2014-10-31Fixes placeholders in 50unattended-upgrades.squeezeJerome Charaoui
2014-10-29Add oldstable to default 50unattended-upgradesJerome Charaoui
2014-10-29Fix default 50unattended-upgrades because of Debian bug #704087Jerome Charaoui
2014-10-28Change default 50unattended-upgrades on DebianJerome Charaoui
* Use squeeze-lts origin on squeeze * All other releases use newer Origins-Pattern format * Drop support for lenny
2013-06-25Regression: lost MailOnlyOnError for unattended-upgradesGabriel Filion
Since only wheezy supports it, let's add it back only for wheezy. Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
2013-06-25Changing 'testing' to 'wheezy' on 50unattended-upgrades.wheezySilvio Rhatto
2013-06-25Updating unattended-upgrades squeeze config as oldstable (2)Silvio Rhatto
2013-06-25using distribution sprecific files againvarac
2013-06-25fix default unattended-upgrades config filevarac
2013-01-02forgot ${distro_codename}-updates in 50unattended-upgrades fallbackvarac
2012-12-16use codename instead of archive variable for Debianvarac
2012-12-16squeeze: use colon seperator to be able to include backport updates,varac
also force unattended upgrades
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-01-09Enable Unattended-Upgrade::MailOnlyOnError (Closes Redmine#3740).intrigeri
2010-12-16New class: apt::dist_upgrade::initiator.intrigeri
This implements the "update initiator" pattern suggested by http://projects.puppetlabs.com/projects/puppet/wiki/Debian_Patterns. This feature is useful when one does not want to setup a fully automated upgrade process but still needs a way to manually trigger full upgrades of any number of systems at scheduled times.
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-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-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 '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-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-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-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-22merged with immerda/masternadir
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-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-11fixed typoroot
2009-12-11cleaned 50unattended_upgradesroot
2009-12-11Added apt::unattended_upgrades class, and extra template for "deb-src"root
2009-03-16remove the riseup key file, we do not need to distribute this in thisMicah Anderson
module, its handled with our custom_key_dir
2009-03-15add riseup repo keyPietro Ferrari
2008-09-28Revert "turn preferences into a simple file"Micah Anderson
This reverts commit 0011e70a24ff49169da294b00b6b39b77fb05c86.
2008-01-25turn preferences into a simple fileroot