Antoine Beaupré
d87876a16f
also disable volatile on ubuntu if relevant
2015-06-09 11:35:41 -04:00
Antoine Beaupré
3da1db2707
also control backports on ubuntu
2015-06-09 11:34:51 -04:00
Antoine Beaupré
dbee5c9487
typo
2015-06-09 11:28:54 -04:00
Antoine Beaupré
5ea69cb039
allow possibility of disabling backports
2015-06-09 11:25:34 -04:00
Jerome Charaoui
87bfb868d7
Avoid unattended security upgrades from stable if running oldstable
2015-05-11 09:55:26 -04:00
Jerome Charaoui
ae4771b452
Adjusted sources.list template: LTS is now 'oldoldstable'
2015-05-07 18:37:24 -04:00
Jerome Charaoui
07424069c2
Fix typos in unattended-upgrades template
2015-05-07 12:52:25 -04:00
Jerome Charaoui
90a51c3ef8
Fix 50unattended-upgrades template for squeeze, better pattern for later release
2015-05-06 17:14:53 -04:00
Jerome Charaoui
f1a53bcfa7
Fix error in 50unattended-upgrades.erb syntax, remove lsb fact
2015-05-06 13:40:29 -04:00
LeLutin
106413f957
Merge branch 'preferences_utopic_erb' into 'master'
...
+ preferences_utopic.erb
See merge request !6
2015-04-18 04:55:05 +00:00
LeLutin
8a5835797d
Merge branch 'fix_ubuntu_backports_entry' into 'master'
...
fix duplicate <main> ubuntu backports entry
See merge request !7
2015-04-18 04:45:50 +00:00
Gabriel Filion
6f6e725e60
Add parameter for blacklisting a list of packages.
...
This functionality was lost because we stopped using a source file for
the 50unattended-upgrades file that would previously let one override
the configuration per release or per host.
2015-04-17 16:43:26 -04:00
Gabriel Filion
0389b11261
unattended-upgrades: use an @ prefix for template variables
2015-04-17 16:42:22 -04:00
Gabriel Filion
d24ca3314f
Parametrize unattended-upgrades mail recipient
2015-04-17 15:50:36 -04:00
Gabriel Filion
9192785c45
make it possible to opt out of MailOnlyOnError
...
This combines all files into one template. It should make maintenance
easier.
2015-04-17 15:50:36 -04:00
varac
dc341e60ad
fix duplicate <main> ubuntu backports entry
2015-03-31 11:50:05 +02:00
varac
21ac1a9bf4
+ preferences_utopic.erb
2015-03-31 10:36:08 +02:00
Jerome Charaoui
8ed07cac2f
Merge branch 'master' of git://git.puppet.immerda.ch/module-apt
...
Conflicts:
templates/Debian/sources.list.erb
2015-02-20 16:15:02 -05:00
intrigeri
7c55bee06a
Merge remote-tracking branch 'shared/master' into feature/squeeze-lts
2015-02-07 16:25:05 +00:00
intrigeri
85c7554c4b
Add support for Squeeze LTS.
2015-02-07 16:12:55 +00:00
Gabriel Filion
671610fab5
flip around security support for debian
...
with the release of squeeze-lts, the current way we deal with security
sources is problemaic. by flipping things around we hope to make the
files contents more stable.
2014-12-05 21:29:09 -05:00
mh
53e78e61fe
Merge remote-tracking branch 'shared/master'
2014-04-18 11:00:04 +02:00
mh
af616677e6
address puppet 3.x deprecation warnings
2014-04-18 10:59:26 +02:00
Micah Anderson
98ad878c1a
add apt listchanges template symlink for jessie - same as the others
2014-03-21 12:09:32 -04:00
Micah Anderson
7006cda333
add apticron_jessie symlink, same version in wheezy and sid
2014-03-21 12:07:19 -04:00
Micah Anderson
51b69c2661
Merge branch 'master' of buse.riseup.net:shared-apt
2014-03-21 12:04:25 -04:00
Micah Anderson
082a2f7768
add jessie preferences file
2014-03-21 12:03:56 -04:00
intrigeri
f8aa2ef872
Drop Debian Etch and Lenny compatibility.
...
Both have been unsupported for ages.
2013-12-08 21:58:20 +00:00
intrigeri
aac83e728c
Lookup next_release in template the same way we lookup next_codename.
...
next_release was forgotten when next_codename was fixed.
2013-01-02 16:52:10 +01:00
Micah Anderson
07a031f205
fix for $lsbdistcodename regression introduced by ac166366d7
...
What happened here was the $codename = $::lsbdistcodename was removed from
init.pp and replaced with just $::lsbdistcodename whereever $codename was
used. Then in the sources.list.erb and preferences files things were changed
like this:
<pre>+### Debian current: <%= codename = scope.lookupvar('::lsbdistcodename') %>
...
-deb <%= debian_url %> <%= codename %> <%= repos %>
...
+deb <%= debian_url=scope.lookupvar('apt::debian_url') %> <%= codename %> <%= repos=scope.lookupvar('apt::repos') %>
</pre>
This meant that the codename was always set to lsbdistcodename, and you because
in newer puppet versions you cannot assign a value to a top-level facter
variable, it is not possible to change this.
Because we cannot change $lsbdistcodename, we have to fix this by allowing the
user to pass a different, non-top-level scoped variable to the class as a
parameter, which defaults to $::lsbdistcodename, so that upgrades can be
triggered.
This is documented in the README in an upgrade notice
2012-12-05 13:46:23 -05:00
Micah Anderson
b528cd0005
parameterize the apt::proxy_client class
2012-08-22 10:55:25 -04:00
mh
0c2f31b5d5
Merge remote-tracking branch 'shared/master'
...
Conflicts:
README
manifests/dist_upgrade/initiator.pp
manifests/init.pp
manifests/preseeded_package.pp
manifests/unattended_upgrades.pp
2012-08-16 09:35:21 +02:00
intrigeri
02bd326994
Make apt::preferences_snippet support Puppet < 2.7 again, when the 'package' parameter is not set.
...
Details:
https://labs.riseup.net/code/issues/3467
https://labs.riseup.net/code/issues/3468
2012-06-18 22:57:13 +02:00
mh
f823fcd5b7
fix auto repo selection
...
the actual repos are in real_repos as by default we have auto.
2012-06-18 17:33:49 -03:00
intrigeri
2e4d22ddd9
Allow passing arbitrary Pin value to apt::preferences_snippet.
...
Closes: Redmine#3467.
2012-06-08 18:30:23 +02:00
intrigeri
13a0b4484f
Support multiple APT preferences snippets for the same package name pattern.
...
This is implemented by adding a "package" parameter to apt::preferences_snippet,
so that define names can be kept unique while the package names are
not necessarily.
Closes: Redmine#3468.
2012-06-08 18:18:50 +02:00
mh
ac166366d7
refactor things for >2.7
2012-06-08 12:16:46 -03:00
mh
39917fb4db
new style for 2.7
2012-06-05 21:31:15 -03:00
Silvio Rhatto
1af58e700e
Changing ubuntu preferences templates to symlinks
2012-05-20 17:42:49 +02:00
Silvio Rhatto
235cdafaa4
Adding precise template
2012-05-20 17:40:51 +02:00
Silvio Rhatto
0528f86f5e
Adding preferences_oneiric.erb
2012-05-20 17:40:39 +02:00
intrigeri
c7322addd5
Add apticron.conf template for Debian sid.
2011-10-06 19:09:48 +02:00
intrigeri
5ea84049ef
Add listchanges.conf template for Debian sid.
2011-10-06 19:04:42 +02:00
intrigeri
546b5cbdbc
Add preferences, listchanges, apticron templates for Debian Wheezy.
2011-06-20 20:07:24 +02:00
intrigeri
4e6f65b0d5
Add empty line at the end of preferences templates.
...
... else the first block added by apt::preferences_snippet is in the same
paragraph as the last block provided by the template.
2011-05-07 18:15:02 +02:00
Micah Anderson
11324d6057
Merge remote-tracking branch 'nadir/master'
2011-04-23 10:50:53 -04:00
intrigeri
b3b704d02e
Debian sources: don't use next release's backports.
...
The APT pinning we ship does not support that, and this seems a bit too much of
a corner case to me to deserve being supported out-of-the-box.
Anyone willing to use current release + next release + next release backports
(e.g. Lenny + Squeeze + squeeze-backports) can anyway do so using
apt::sources_list and apt::preferences_snippet.
https://labs.riseup.net/code/issues/2856 is the bug that triggered this change.
2011-04-23 13:08:33 +02:00
intrigeri
e2b4f42b54
Remove pinning for backports on Squeeze.
...
This is now done automatically by APT.
2011-04-03 19:27:43 +02:00
root
13033f7d81
Merge branch 'master' of git://labs.riseup.net/shared-apt
2011-02-16 13:23:54 +00:00
intrigeri
840ea9ed9d
Debian Squeeze pinning: pin squeeze-updates as much as regular squeeze.
...
The previous template was indeed ensuring no package from squeeze-updates could
be easily or automatically installed.
2011-02-14 10:52:25 +01:00