Commit graph

423 commits

Author SHA1 Message Date
intrigeri
1e81ba185e Merge remote-tracking branch 'shared/key' into tmp 2015-08-31 09:51:45 +00:00
Antoine Beaupré
544796e050 document the .gpg extension requirement 2015-08-26 23:29:11 -04:00
Antoine Beaupré
5564b3fba3 fix install location of apt:🔑:plain 2015-08-26 23:27:58 -04:00
Antoine Beaupré
ae0570dee6 fix typo 2015-08-26 23:25:16 -04:00
Antoine Beaupré
931076f854 fix typo 2015-06-11 10:32:40 -04:00
Antoine Beaupré
891aa0fbbe allow for binary keys that can be removed 2015-06-11 10:26:10 -04:00
Antoine Beaupré
33acc00e5c add apt::key resource to deploy arbitrary keys
the rationale of this is that isn't useful for third party modules,
because they cannot inject keys in there without some serious apt
class hijacking
2015-06-11 10:07:49 -04:00
Jerome Charaoui
58cfaa32f9 Merge branch 'volatile-backports' into 'master'
allow disabling backports (and volatile in ubuntu)

as the module stands now, there's no way to disable backports.

there are a few reasons why we want to allow this:

* "tools, not policy" - if Debian doesn't ship with backports enabled by default, why should we change that policy?
* too many sources.list entries can cause problems on `apt-get update`, which can run out of memory and require special config
* if the pinning fails, some packages may be updated by mistake
* even if pinning works, some may *want* to keep admins from installing anything from backports as a policy

this keeps backports installed by default (begrudgingly) however. it just allows disabling it.

it also allows disabling volatile in ubuntu, which wasn't possible before.

See merge request !16
2015-06-09 15:49:02 +00:00
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
95a68805a0 Add upgrade notice about updated functions 2015-05-07 18:35:53 -04:00
Jerome Charaoui
07424069c2 Fix typos in unattended-upgrades template 2015-05-07 12:52:25 -04:00
Matt Taggart
a28c04239c Merge branch 'master' into 'master'
Fix 50unattended-upgrades template for squeeze, better pattern for later release

See merge request !12
2015-05-06 21:47:46 +00:00
Jerome Charaoui
90a51c3ef8 Fix 50unattended-upgrades template for squeeze, better pattern for later release 2015-05-06 17:14:53 -04:00
varac
a4d788d778 don't call Exec[refresh_apt] after deploying unattended-upgrades config
unattended-upgrades is run on a daily base by cron, no need to force
an `apt-get update` after changing this file.
2015-05-06 22:15:14 +02:00
varac
9df32aacd6 Merge branch 'master' into 'master'
add $ensure_version parameter, to allow for overriding which version of unattend…

…ed-upgrades is installed

See merge request !11
2015-05-06 20:00:32 +00:00
Micah Anderson
a7cc68ed99 add $ensure_version parameter, to allow for overriding which version of unattended-upgrades is installed 2015-05-06 15:52:07 -04:00
Micah
d483ddbbf0 Merge branch 'master' into 'master'
Fix error in 50unattended-upgrades.erb syntax, remove lsb fact

See merge request !10
2015-05-06 17:58:37 +00:00
Jerome Charaoui
f1a53bcfa7 Fix error in 50unattended-upgrades.erb syntax, remove lsb fact 2015-05-06 13:40:29 -04:00
Micah Anderson
74db9ebf28 jessie has been released! 2015-05-06 10:41:47 -04:00
LeLutin
5a9e3a456e Merge branch 'master' into 'master'
updates for debian sources

There have been some recent changes in debian resulting in changes to sources

* jessie was released and very soon there will be a jessie-backports, so the backports logic needs to handle that
* the http.debian.net redirector has a new official url

See merge request !8
2015-04-28 22:25:51 +00:00
Matt Taggart
3dac57374f the http redirector has a new official home 2015-04-28 11:59:46 -07:00
Matt Taggart
5532df22f1 invert the backports logic because squeeze and older were the exception and wheezy and newer the default 2015-04-28 11:57:23 -07: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
25af635994 Document unattended_upgrades class parameters 2015-04-17 16:45:35 -04: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
Micah
bb12a296a0 Merge branch 'fix-usage-of-module_dir' into 'master'
Fix usage of module_dir

I didn't test enough functionality before merging https://gitlab.com/shared-puppet-modules-group/apt/merge_requests/4 apparently: anything that depends on module_dir is currently broken. Sorry!

See merge request !5
2015-02-28 16:07:45 +00:00
intrigeri
3bd6f73973 Add missing "include common::moduledir".
Without this, $common::moduledir::module_dir_path is empty.
2015-02-28 13:01:14 +00:00
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