Commit graph

432 commits

Author SHA1 Message Date
mh
4d28e6668f introduce preferences snippet
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-17 13:58:59 +02:00
intrigeri
e42b54af40 Support choosing a custom Ubuntu mirror. 2010-10-17 10:51:06 +02:00
intrigeri
2d75cda2db Use append_if_no_such_line instead of line. 2010-10-17 02:54:20 +02:00
intrigeri
7a0dc9a37a Migrate config file to line-editing.
This allows other modules to add lines there too.
2010-10-17 02:30:28 +02:00
intrigeri
8ce3c34be5 Backward compatibility: ensure old renamed file is absent. 2010-10-17 02:13:59 +02:00
intrigeri
e3c8c1b6af Bring /etc/apt/apt.conf.d/99from_puppet to init.
APT configuration has (unfortunately) nothing to do with APT preferences.
2010-10-17 02:11:41 +02:00
intrigeri
b4d6f30fae Support $apt_repos for Ubuntu as well. 2010-10-17 02:08:17 +02:00
intrigeri
bcfb35c969 Merge remote branch 'nadir/master' into wip
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-17 01:57:55 +02:00
intrigeri
e2f80db7b7 Bring in a bit of Ubuntu support from Nadir. 2010-10-17 01:35:37 +02:00
intrigeri
7613ddde67 Rename $apt_use_volatile to $apt_volatile_enabled.
This will help merging with Nadir's changes.
2010-10-17 01:18:33 +02:00
root
7ed78d549b Manage a /etc/apt/apt.conf.d/99-puppet file. 2010-10-17 01:18:30 +02:00
intrigeri
7c90a47067 Syntax fix 2010-10-16 22:16:02 +02:00
intrigeri
e50e35e4c8 apt::preseeded_package: concatenate $name.seeds with $debian_version/$name.seeds. 2010-10-16 14:21:36 +02:00
intrigeri
e5c40bc6f0 Trim more empty lines. 2010-10-10 12:38:18 +02:00
intrigeri
1cea889f8c Trim empty lines in template. 2010-10-10 12:35:05 +02:00
intrigeri
b4e24ecc06 Fix functions return values. 2010-10-10 12:05:26 +02:00
intrigeri
7b82df6d0b Fix parent class name. 2010-10-10 11:09:25 +02:00
intrigeri
f0320059a9 Add support for customizing the repos list (main, contrib, etc.)
The templates already made use of it, but the code didn't set a default value.
2010-10-10 11:06:07 +02:00
intrigeri
d50104ce10 Fix functions declaration and filenames. 2010-10-10 11:00:18 +02:00
intrigeri
7b7fe9497a Fix template syntax. 2010-10-09 21:31:25 +02:00
intrigeri
5326c54b81 Rename function file so that puppet hopefully finds it. 2010-10-09 21:18:10 +02:00
nadir
eae01000c1 re-added apt::custom_sources_template to deploy custom sources.list.d/xyz.list 2010-10-09 14:39:11 +02:00
nadir
db06babc5d removed backports template in favor of main sources.list 2010-10-09 13:42:26 +02:00
nadir
ed9263cd3d distribution specific sources.list.erb 2010-10-09 13:41:23 +02:00
nadir
9fa9bfd9d8 added possibility to have a custom 50unattended-upgrades 2010-10-09 13:39:39 +02:00
nadir
32d230c62c files in /etc/apt/apt.conf.d should be numbered 2010-10-09 13:36:30 +02:00
nadir
49f17e56eb merge with immerda master 2010-10-09 11:49:05 +02:00
intrigeri
208e60b864 Add cron-apt support. 2010-10-06 14:06:50 +02:00
intrigeri
fab154da39 Allow specifying custom mirrors for every supported archive. 2010-10-06 13:29:38 +02:00
intrigeri
6dd6642588 Bugfix. 2010-10-06 13:28:09 +02:00
intrigeri
53ca6e2235 Add opt-in support for next Debian release sources. 2010-10-06 12:39:50 +02:00
intrigeri
1183a04b48 Track installed backports upgrades on Lenny and Squeeze. 2010-10-06 12:32:29 +02:00
intrigeri
ff73987f30 Add per-release preferences files.
The previous default pinning preferences only supported tracking stable.
Tracking squeeze or sid is now possible.
2010-10-06 12:30:50 +02:00
intrigeri
81fe80d914 Remove unneeded template. 2010-10-06 12:21:27 +02:00
intrigeri
50136de420 Add opt-in support for deb-src. 2010-10-06 12:09:38 +02:00
intrigeri
de94b807ee Add opt-in support for Debian Volatile. 2010-10-06 12:04:17 +02:00
intrigeri
967df2f010 Really use backports as the documentation pretends. 2010-10-06 11:56:56 +02:00
intrigeri
b312c866d5 Reindent for consistency with previous work. 2010-10-06 11:52:07 +02:00
intrigeri
32e9d9b922 Remove unneeded dependencies. 2010-10-06 11:30:56 +02:00
intrigeri
e643c14ee2 Use new variables. 2010-10-06 11:30:46 +02:00
intrigeri
9139d33562 Initialize $release, $next_release, $codename, $next_codename in init.pp. 2010-10-06 11:17:30 +02:00
intrigeri
d65e1573a9 Add a few useful functions. 2010-10-06 11:16:44 +02:00
mh
521ccfec19 improve decision handling, remove unnecessary exec 2010-09-15 22:31:42 +02:00
Matt Taggart
356ff93340 backports.org has merged with the normal debian archive, the apt source changed and we don't need a separate apt-key for it now 2010-09-08 15:39:33 -07:00
Micah Anderson
cb9e265ad2 clean up the multiple File subscribes 2010-09-02 19:15:47 -04:00
Micah Anderson
92fd1d1351 quote all aliases to be consistent 2010-09-02 19:14:23 -04:00
Micah Anderson
a5e4ab40d8 Merge remote branch 'immerda/master'
Conflicts:
	manifests/init.pp
2010-09-02 19:12:58 -04:00
mh
dd36612e50 refer to correct resource 2010-08-14 13:56:31 +02:00
mh
33f1b53c89 improve exec naming 2010-08-10 16:27:54 +02:00
mh
604cef0cc9 fix relation 2010-08-09 14:37:54 +02:00