intrigeri
31f8661eea
Merge branch 'master' into 'master'
...
Merge with cmaisonnneuve and immerda
See merge request !4
2015-02-28 12:34:54 +00: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
Jerome Charaoui
e3e0b46ca6
Merge branch 'master' of gitlab.com:shared-puppet-modules-group/apt
2015-02-20 16:09:44 -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
Micah
c826a07dfe
Merge branch 'document_list' into 'master'
...
Document list
added a note to the readme to document that the .list ending for resource names is now optional
See merge request !3
2014-12-07 14:02:08 +00:00
Gabriel Filion
54532e9179
rephrase documentation of option .list
...
as suggested during review
2014-12-06 21:55:20 -05:00
Guillaume Marde
8e8fa56271
Added a license. That's a bit cocky, but we're just licensing this stuff as GPLv3, which is part of the basis of unity of most organizations involved in the creation of those. If you absolutely wanna pull out of this shit let us know, we'll try to figure something out ; most likely we'll stop using your part and rewrite them on our own (but better :D).
2014-12-06 16:03:21 -05:00
Gabriel Filion
18a2525b7a
Update the README to show that .list is optional for sources
2014-12-06 12:14:50 -05:00
Micah
77ae6e98be
Merge branch 'append_list' into 'master'
...
Append list
I've implemented #6200 in a backwards-compatible manner: this change makes ending sources in ".list" optional
See merge request !2
2014-12-06 15:57:39 +00:00
Micah
93858f31f0
Merge branch 'flip_security_source' into 'master'
...
Flip security source
Implement bug #8334
the diff in the redmine issue has two checks for codenames, but I'm wondering if they're adding anything to the "releases" check.
See merge request !1
2014-12-06 15:47:59 +00:00
Gabriel Filion
7c68c19973
make it optional to end sources in ".list"
2014-12-06 00:52:59 -05: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
Jerome Charaoui
c9ae59e1b7
Fixes placeholders in 50unattended-upgrades.squeeze
2014-10-31 14:09:59 -04:00
Jerome Charaoui
fb9e13eebf
Add oldstable to default 50unattended-upgrades
2014-10-29 18:40:16 -04:00
Jerome Charaoui
0a1eee280f
Fix default 50unattended-upgrades because of Debian bug #704087
2014-10-29 18:14:36 -04:00
Jerome Charaoui
5a8d214529
Change default 50unattended-upgrades on Debian
...
* Use squeeze-lts origin on squeeze
* All other releases use newer Origins-Pattern format
* Drop support for lenny
2014-10-28 15:29:25 -04: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
mh
9d56396a04
use the new style common module
2014-01-08 21:28:42 +01:00
mh
4bd4dd2542
use stdlib instead of the common module
2014-01-08 21:27:05 +01:00
intrigeri
128410f643
Adapt documentation to take into account we haven't been supporting Lenny for more than a year.
2013-12-08 22:00:22 +00:00
intrigeri
f286b0ed86
Remove Lenny-related comment that was made obsolete a year ago by commit 822950.
2013-12-08 21:58:38 +00:00
intrigeri
f8aa2ef872
Drop Debian Etch and Lenny compatibility.
...
Both have been unsupported for ages.
2013-12-08 21:58:20 +00:00
Gabriel Filion
c99227ad55
Make custom_sources_list into a class paramter
...
and thus remove the last global variable.
2013-07-27 06:14:47 -04:00
Micah Anderson
1a72a99693
remove unnecessary override and accidentally merge issue
2013-06-27 11:58:39 -04:00
Micah Anderson
8f58a40ad8
Merge branch 'bug/fix_push' into leap
...
This gets us fixes for the unattended_upgrades in wheezy, as well as the custom_key_dir class parameter replacement of the global variable
Conflicts:
manifests/unattended_upgrades.pp
2013-06-25 16:57:07 -04:00
Gabriel Filion
2e3c8fe71c
Regression: lost MailOnlyOnError for unattended-upgrades
...
Since only wheezy supports it, let's add it back only for wheezy.
Signed-off-by: Gabriel Filion <gabster@lelutin.ca>
2013-06-25 15:58:48 -04:00
Silvio Rhatto
4b2e554f8f
Changing 'testing' to 'wheezy' on 50unattended-upgrades.wheezy
2013-06-25 15:58:35 -04:00
Silvio Rhatto
b45052b227
Updating unattended-upgrades squeeze config as oldstable (2)
2013-06-25 15:58:21 -04:00
varac
07266be255
fix unattended-upgrades dependency cycle
2013-06-25 15:55:22 -04:00
varac
9a3068016f
using distribution sprecific files again
2013-06-25 15:54:31 -04:00
varac
92406aa918
fix default unattended-upgrades config file
2013-06-25 15:47:06 -04:00
Silvio Rhatto
50b4bef761
Make custom_key_dir a class parameter and not a global variable
...
Conflicts:
manifests/init.pp
2013-06-25 15:35:11 -04:00
Micah Anderson
f11e3d4753
remove unnecessary before dependency on the /etc/apt/preferences file in unattended_upgrades.pp
2013-06-25 11:31:22 -04:00
Micah Anderson
88bfe5fbab
fix for the following: warning: Dynamic lookup of $custom_preferences at modules/apt/manifests/preferences_snippet.pp:16 is deprecated. For more information, see http://docs.puppetlabs.com/guides/scope_and_puppet.html . To see the change in behavior, use the --debug flag.
2013-06-20 15:32:51 -04:00
Micah Anderson
61a2f48948
Merge branch 'master' into leap
2013-05-26 17:04:05 -04:00
intrigeri
c38be6cb7c
Wheezy was released!
2013-05-03 17:09:34 +02:00
intrigeri
46c58b07bf
Use the main Debian archive's URL as the default URL for backports on Wheezy.
...
The backports are now fully integrated with the main archive.
See:
https://labs.riseup.net/code/issues/4270
https://lists.debian.org/debian-devel-announce/2013/03/msg00007.html
2013-03-20 22:11:46 +01:00
intrigeri
5ec8ffb4ef
Move apt class parameters to a ::params class.
...
This brings no behaviour change yet, but will allow to set class parameters'
default value depending on system facts.
2013-03-20 22:09:29 +01:00
varac
6bf7a6ab5d
Revert "deploy /etc/apt/preferences before File['apt_config']"
...
This reverts commit 7e8113b3fc
.
see https://leap.se/code/issues/1990 for the miserious details.
2013-03-15 20:46:29 +01:00
varac
7e8113b3fc
deploy /etc/apt/preferences before File['apt_config']
2013-03-14 22:19:33 +01:00
varac
c8a28eb80e
apt keys: always deploy before Exec[refresh_apt], also with $custom_preferences
2013-03-14 20:01:35 +01:00
varac
f0a107ffee
fix #4249 : Ubuntu: wrong sources.list entries
2013-03-05 09:39:23 +01:00
intrigeri
d51e2af9d4
Don't check for a package priority to be set when removing an APT preferences snippet.
...
The problem I'm facing is that the sanity checks prevent one from
using a simple:
apt::preferences_snippet { "bla": ensure => absent }
So, first set a default value for the `priority' parameter, so
that it's not required anymore. Second, add a sanity check to
error out when priority is not set, to get the safe old behaviour.
Then, wrap all sanity checks about arguments within
a "if $ensure == 'present'" block.
2013-02-16 14:58:43 -05:00
varac
f16a0727dc
Install unattended-upgrades after Exec[refresh_apt]
...
Before, including apt::unattended_upgrades on a host without
the unattended-upgrades package would fail on the first run,
because the module tries to install the package before apt is
finally configured.
This commit does:
- introduce the option $refresh_apt for apt::apt_conf
(Defaults to true). Can be used to not trigger Exec['refresh_apt']
- install the unattended-upgrades package after a final
Exec['refresh_apt']. To not run into a loop, it calls
Apt_conf['50unattended-upgrades'] with the option
refresh_apt => false, which is also not needed for the configuration
2013-02-01 15:52:29 +01:00