nadir
3a473dafd5
comparing variabled should use double quotes (interestingly, it does work with only one too)
2012-12-18 22:31:00 +01:00
nadir
4718ae27c9
updated README to explain $apt_disable_update
2012-12-18 22:26:53 +01:00
nadir
4204847fdd
added $apt_disable_update to disable "apt-get update" during puppetruns
2012-12-18 22:26:45 +01:00
Micah Anderson
4f433dbd52
update README to reflect the requirement of the lsb module
2012-08-08 11:25:02 -04: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
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
0cb3cd816e
Migrate - in class names to _
...
In newer puppet releases the old way to name class/modules with a -,
won't anymore be supported.
Conflicts:
manifests/unattended_upgrades.pp
2012-06-08 15:07:48 +02: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
Gabriel Filion
1ac72986c4
Apply GPL-v3 license
...
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-21 05:54:28 -04:00
intrigeri
ee33741aa1
Fix formatting.
2012-04-11 11:37:24 +02:00
intrigeri
1c96159d7e
Depend on our shared concat module rather than ripienaar's one.
...
Most of us are likely to use and test against the former.
2012-04-11 11:36:31 +02:00
mh
56efade862
use correct references for new concat usage
2012-04-11 11:35:31 +02:00
mh
5173c71715
use the correct name
2012-04-11 11:35:31 +02:00
mh
8996d83489
migrate concatenated_file to the concat module
2012-04-11 11:35:31 +02:00
Gabriel Filion
a835369958
Force an apt-get update when changing an apt::sources_list
...
sources_list doesn't currently force puppet to run 'apt-get update'
after creating/modifying/removing files in sources.list.d.
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-09 01:39:29 -04:00
Gabriel Filion
4d0ddd0057
Refactor: manage .d directories when using sources_list and apt_conf
...
The .d directories are only managed by the main 'apt' class. However,
both 'sources_list' and 'apt_conf' defines depend on those directories.
So in practice, the defines have an implicit need for those directories
to be somehow managed.
Let's turn this into an explicit relation, and include the directories
in the defines.
This makes it possible to use both defines without having to include the
main 'apt' class. (maybe when using puppet apply?)
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2012-04-09 01:38:30 -04:00
intrigeri
66433e665e
Enable Unattended-Upgrade::MailOnlyOnError (Closes Redmine#3740).
2012-01-09 13:48:42 +01: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
intrigeri
d0f7e98ec5
Revert "apt::custom_sources_template to deploy custom sources.list.d/xyz.list"
...
This reverts commit 3c0499b78d
.
This was already provided by sources_list.pp.
2011-04-25 22:50:53 +02:00
Micah Anderson
11324d6057
Merge remote-tracking branch 'nadir/master'
2011-04-23 10:50:53 -04:00
Micah Anderson
9354f09460
Merge remote-tracking branch 'immerda/master'
2011-04-23 10:50:48 -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
mh
fc7c12c44b
README fix - we should use template not an url
2011-04-14 21:51:05 +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
5964e90e33
Possibility to delpoy release related config file
2011-04-02 11:16:43 +00:00
root
63c7b5a643
Merge branch 'master' of git://labs.riseup.net/shared-apt
2011-04-02 07:53:38 +00:00
intrigeri
14cd91de33
apt::cron::dist-upgrade: silently keep old version of conffiles.
...
This makes this class' behaviour consistent with the apt::dist_upgrade one
and prevents stalled upgrades due to dpkg asking questions to a dumb robot.
2011-02-18 22:41:36 +01: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
intrigeri
045e1fc748
Stop hard-coding Wheezy name in Squeeze's pinning template.
...
Every needed function has been updated since Squeeze was released and we can
thus use a nice generic template.
2011-02-07 11:41:49 +01:00
intrigeri
f11e821f0a
debian_nextcodename: take into account Squeeze was released.
2011-02-07 11:28:29 +01:00
intrigeri
e32f4275a6
debian_release_version: add Squeeze's version number.
2011-02-07 11:27:54 +01:00
intrigeri
e19b574e23
Starting from Squeeze, Debian Volatile is deprecated in favor of CODENAME-updates.
...
Take this into account in the Debian sources.list template:
- go on using volatile.d.o for <= Lenny sources lines
- start using CODENAME-updates for Squeeze and newer.
Reference: http://lists.debian.org/debian-volatile/2011/01/msg00008.html
2011-02-07 11:17:07 +01:00
intrigeri
f362f05995
Update debian_release function since Squeeze has been released.
2011-02-06 08:56:54 +01:00
varac
44c6d6aa8f
updated Ubuntu preferences to include security + updates
2011-01-29 13:27:03 +01:00
varac
75f988242a
preferences.pp for ubuntu maverick
2011-01-23 23:33:06 +01:00
nadir
3c0499b78d
apt::custom_sources_template to deploy custom sources.list.d/xyz.list
2011-01-09 22:57:18 +01:00
intrigeri
d76f922dfb
Make sources snippets world-readable.
...
Not doing this breaks big parts of functionality, such as aptitude why.
2011-01-08 19:39:10 +01:00
Micah Anderson
c5dc8ff5fc
add -q to the apt-get invocation in upgrade_package.pp, also switch to using -y instead of --force-yes. this way we are acting in the same way as the dist_upgrade class
2010-12-18 15:47:11 -05:00
Micah Anderson
5fdadb955d
switch aptitude to apt-get, since aptitude will sometimes automatically do things that are unrelated to the task at hand, such as deinstalling automatically installed packages, which can be undesirable behavior
2010-12-18 14:01:11 -05:00
intrigeri
575e4ab9cc
Fix apt::upgrade_package when used multiple times.
2010-12-16 18:14:23 +01:00
intrigeri
bbe2c8aee9
New class: apt::dist_upgrade::initiator.
...
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-16 13:03:08 +01:00
intrigeri
4765a02564
New class: apt::dist_upgrade.
2010-12-16 13:02:28 +01:00
intrigeri
c0377ca737
Apply fix from 67dc9a22
to Squeeze template as well.
2010-12-15 22:20:08 +01:00