]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/log
carabasdaniel [Wed, 24 Apr 2019 09:11:46 +0000 (02:11 -0700)]
Merge pull request #856 from lionce/release_prep
release prep 7.0.0
lionce [Wed, 24 Apr 2019 08:24:00 +0000 (11:24 +0300)]
release prep 7.0.0
lionce [Fri, 19 Apr 2019 14:15:47 +0000 (17:15 +0300)]
Merge pull request #847 from anarcat/no-backports-key
don't hardcode an old key from official mirrors for Debian backports
sheenaajay [Mon, 15 Apr 2019 11:07:24 +0000 (12:07 +0100)]
Merge pull request #854 from puppetlabs/pdksync_pdksync_f778803
pdksync - (maint) Update pdk-template to
f778803
Eimhin Laverty [Mon, 15 Apr 2019 09:34:12 +0000 (10:34 +0100)]
pdksync - (maint) Update pdk-template to
f778803
TP Honey [Thu, 11 Apr 2019 12:38:26 +0000 (13:38 +0100)]
Merge pull request #853 from puppetlabs/pdksync_MODULES-8444
pdksync - (MODULES-8444) - Raise lower Puppet bound
David Swan [Wed, 10 Apr 2019 15:39:27 +0000 (16:39 +0100)]
(MODULES-8444) - Raise lower Puppet bound
Eimhin Laverty [Wed, 20 Mar 2019 13:40:52 +0000 (13:40 +0000)]
Merge pull request #849 from tuxmea/apt_key_weak_ssl
Allow weak SSL verification for apt_key
Martin Alfke [Wed, 20 Mar 2019 09:18:20 +0000 (10:18 +0100)]
Allow weak SSL verification for apt_key
fixes https://tickets.puppetlabs.com/browse/MODULES-8759
Antoine Beaupré [Mon, 11 Mar 2019 19:48:52 +0000 (15:48 -0400)]
also fix tests
Antoine Beaupré [Mon, 11 Mar 2019 18:38:40 +0000 (14:38 -0400)]
don't hardcode an old key from official mirrors for Debian backports
A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553 is really this key, on any
modern Debian system:
/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub rsa4096 2012-04-27 [SC] [expire : 2020-04-25]
A1BD 8E9D 78F7 FE5C 3E65 D8AF 8B48 AD62 4692 5553
uid [ inconnue] Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
It expires in about a year, and is shipped by default in Debian:
$ dpkg -S /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
debian-archive-keyring: /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
With the current configuration, it might attempt to download the key
from the network, which could then be hijacked by a MITM and break
the entire trust chain built by AptSecure.
If the key was used in the sources.list template to pin the
repository, that would be one thing (it's not). But then it would fail
every time that key gets rotated on the Debian server (that is: at
every major release).
So just remove the key: it serves no purpose than enable a possible
MITM attack and creates an additional maintenance burden.
(OpenPGP crypto-geeks will surely point out that the full fingerprint
is used in the specification, and that this is normally not considered
breakable the same way short key IDs are currently known to be easily
breakable. I would counter that a fingerprint is still a checksum of
the original keypair and could *eventually* be found to be vulnerable
to certain attacks. OpenPGP as an ecosystem would likely fall apart at
that point as self-signatures are also using fingerprints (if not long
key IDs) but I'm disgressing: we do not rely on those for Secure Apt
so let's just do the right thing.)
Note that the `Ubuntu` section might be similarly affected, but I do
not have an Ubuntu system to test this with right now.
Finally, it should be noted that running apt-key the way the
puppetlabs module does is completely unsafe. Keys should *NEVER* be
added to the global trust ring in /etc/apt/trusted.gpg.d. Instead,
they should be deployed in /usr/share/keyrings and mapped in the
`sources.list` with an entry like:
deb [signed-by=/usr/share/keyrings/example-archive-keyring.gpg] https://example.net/debian/ main
That conventions are also documented in the Debian wiki here:
https://wiki.debian.org/DebianRepository/UseThirdParty
david22swan [Thu, 7 Mar 2019 14:35:39 +0000 (14:35 +0000)]
Merge pull request #846 from puppetlabs/pdksync_modules-8728
pdksync - Remove .project from .gitignore
Eimhin Laverty [Thu, 7 Mar 2019 12:43:23 +0000 (12:43 +0000)]
(MODULES-8728) Remove .project from .gitignore
david22swan [Mon, 4 Mar 2019 15:19:47 +0000 (15:19 +0000)]
Merge pull request #844 from tphoney/optimize_acceptance_testing
(maint) reduce run time for acceptance testing
tphoney [Thu, 14 Feb 2019 10:23:04 +0000 (10:23 +0000)]
(maint) reduce run time for acceptance testing
Moving acceptance tests to unit tests, this reduces run time for testing.
This gives a 50% reduction in acceptance test times.
david22swan [Thu, 14 Feb 2019 10:08:45 +0000 (10:08 +0000)]
Merge pull request #843 from tphoney/rspec_mock
(maint) use rspec-mock for unit tests
tphoney [Tue, 12 Feb 2019 16:22:24 +0000 (16:22 +0000)]
(maint) use rspec-mock for unit tests
Helen [Tue, 12 Feb 2019 16:02:52 +0000 (16:02 +0000)]
Merge pull request #842 from tphoney/remove_unsupported_code
(maint) Remove uneeded workarounds for ruby/facter
tphoney [Mon, 11 Feb 2019 10:04:00 +0000 (10:04 +0000)]
(maint) Remove uneeded workarounds for ruby/facter
david22swan [Thu, 31 Jan 2019 10:04:58 +0000 (10:04 +0000)]
Merge pull request #841 from puppetlabs/pdksync_pdksync_1
.9.0-0-g7281db5
pdksync - pdksync_1
.9.0-0-g7281db5
lionce [Thu, 31 Jan 2019 09:20:32 +0000 (11:20 +0200)]
david22swan [Wed, 23 Jan 2019 09:20:07 +0000 (09:20 +0000)]
Merge pull request #840 from puppetlabs/release
Release Mergeback 6.3.0
Paula Muir [Mon, 21 Jan 2019 08:42:17 +0000 (08:42 +0000)]
Merge pull request #839 from david22swan/ReleasePrep
(MODULES-8513) - 6.3.0 Release Prep
David Swan [Fri, 18 Jan 2019 14:36:17 +0000 (14:36 +0000)]
(MODULES-8513) - 6.3.0 Release Prep
Helen [Mon, 14 Jan 2019 15:27:28 +0000 (15:27 +0000)]
Merge pull request #838 from puppetlabs/pdksync_pdksync_heads/
master-0-g6814a87
pdksync - pdksync_heads/
master-0-g6814a87
David Swan [Thu, 10 Jan 2019 15:24:24 +0000 (15:24 +0000)]
Eimhin Laverty [Thu, 3 Jan 2019 17:04:29 +0000 (17:04 +0000)]
Merge pull request #836 from antaflos/fix_auth_conf_owner
(MODULES-8418) Fix /etc/apt/auth.conf owner changing endlessly
Andreas Voegele [Mon, 3 Dec 2018 18:49:47 +0000 (19:49 +0100)]
(MODULES-8418) Add parameter $auth_conf_owner
Starting from Debian 9 and Ubuntu 16.04 the user _apt owns the file
/etc/apt/auth.conf. In previous versions it is owned by root.
Set ownership of /etc/apt/auth.conf correctly based on OS version and
add spec tests to cover managing the file's owner under Ubuntu 14.04,
16.04 and 18.04 as well as Debian 7.0, 8.0 and 9.0.
Eimhin Laverty [Thu, 3 Jan 2019 15:57:20 +0000 (15:57 +0000)]
Merge pull request #837 from puppetlabs/pdksync_pdksync_heads/
master-0-g9c815ea
pdksync - pdksync_heads/
master-0-g9c815ea
David Swan [Thu, 3 Jan 2019 14:32:14 +0000 (14:32 +0000)]
Eimhin Laverty [Thu, 20 Dec 2018 10:47:59 +0000 (10:47 +0000)]
Merge pull request #835 from puppetlabs/pdksync_FM-7655
pdksync - (FM-7655) Fix rubygems-update for ruby < 2.3
tphoney [Thu, 20 Dec 2018 10:09:31 +0000 (10:09 +0000)]
(FM-7655) Fix rubygems-update for ruby < 2.3
david22swan [Wed, 19 Dec 2018 14:15:13 +0000 (14:15 +0000)]
Merge pull request #833 from puppetlabs/anchor-tags
(maint) Add HTML anchor tag
Eimhin Laverty [Mon, 17 Dec 2018 12:32:01 +0000 (12:32 +0000)]
Merge pull request #834 from puppetlabs/pdksync_pdksync_heads/
master-0-gbf720df
pdksync - pdksync_heads/
master-0-gbf720df
Eimhin Laverty [Mon, 17 Dec 2018 11:29:26 +0000 (11:29 +0000)]
clairecadman [Fri, 14 Dec 2018 15:46:36 +0000 (15:46 +0000)]
Update README.md
clairecadman [Fri, 14 Dec 2018 15:45:41 +0000 (15:45 +0000)]
(maint) Add HTML anchor tag
The anchor tag helps fix broken links — If the header text changes (gets localized) the link will brake.
Paula Muir [Thu, 13 Dec 2018 17:40:42 +0000 (17:40 +0000)]
Merge pull request #832 from aboks/apt-task
Add support for dist-upgrade & autoremove action
Arnout Boks [Thu, 13 Dec 2018 11:34:24 +0000 (12:34 +0100)]
Add tests for new apt actions
Arnout Boks [Tue, 11 Dec 2018 19:59:55 +0000 (20:59 +0100)]
Add support for dist-upgrade & autoremove action
Ewoud Kohl van Wijngaarden [Fri, 7 Dec 2018 13:10:40 +0000 (14:10 +0100)]
(maint) Remove duplicated fact declarations (#828)
* (maint) Remove duplicated fact declarations
* (maint) Correct lsbdist facts in tests
* (maint) Remove the puppetversion fact in testing
* (maint) - Remove blank line
TP Honey [Fri, 7 Dec 2018 10:04:13 +0000 (10:04 +0000)]
Merge pull request #831 from eimlav/modules-8321
(MODULES-8321) - Add manage_auth_conf parameter
TP Honey [Fri, 7 Dec 2018 10:03:22 +0000 (10:03 +0000)]
Merge pull request #830 from eimlav/modules-8326
(MODULES-8326) - apt-transport-https not ensured properly
Eimhin Laverty [Thu, 6 Dec 2018 16:31:40 +0000 (16:31 +0000)]
(MODULES-8321) - Add manage_auth_conf parameter
Eimhin Laverty [Thu, 6 Dec 2018 13:41:08 +0000 (13:41 +0000)]
(MODULES-8326) - apt-transport-https not ensured properly
Eimhin Laverty [Thu, 22 Nov 2018 09:14:21 +0000 (09:14 +0000)]
Merge pull request #827 from puppetlabs/release
(maint) - 6.2.1 Release mergeback
Paula Muir [Tue, 20 Nov 2018 13:45:12 +0000 (13:45 +0000)]
Merge pull request #826 from eimlav/release-prep
(MODULES-8275) - Release prep for 6.2.1
Eimhin Laverty [Tue, 20 Nov 2018 12:56:51 +0000 (12:56 +0000)]
(MODULES-8275) - Release prep for 6.2.1
Paula Muir [Tue, 20 Nov 2018 12:44:16 +0000 (12:44 +0000)]
Merge pull request #825 from eimlav/dirmngr-fix
(MODULES-8272) - Revert "Autorequire dirmngr in apt_key types"
Eimhin Laverty [Tue, 20 Nov 2018 09:09:49 +0000 (09:09 +0000)]
(MODULES-8272) - Revert "Autorequire dirmngr in apt_key types"
This reverts commit
53ea6e7a789ebec00d463ba78abf09bfe031efd9 .
Eimhin Laverty [Mon, 19 Nov 2018 17:22:43 +0000 (17:22 +0000)]
Merge pull request #824 from puppetlabs/release
(maint) - 6.2.0 Release Mergeback
Eimhin Laverty [Mon, 19 Nov 2018 10:13:40 +0000 (10:13 +0000)]
Merge pull request #823 from david22swan/PreRelease
(MODULES-8226) - 6.2.0 Release Prep
David Swan [Thu, 8 Nov 2018 10:24:46 +0000 (10:24 +0000)]
(MODULES-8226) - 6.2.0 Release Prep
Helen [Fri, 16 Nov 2018 14:35:37 +0000 (14:35 +0000)]
Merge pull request #822 from ekohl/apt-key-fixes
Apt-key fixes to properly work on Debian 9
Ewoud Kohl van Wijngaarden [Wed, 14 Nov 2018 16:15:14 +0000 (17:15 +0100)]
Autorequire dirmngr in apt_key types
Ewoud Kohl van Wijngaarden [Wed, 14 Nov 2018 16:13:48 +0000 (17:13 +0100)]
Pass in --no-tty to apt-key
On modern Debian(-based) distros this is needed for gpg to function when
no TTY is available. Since Puppet often runs from cron or a daemon, this
is often the case.
Eimhin Laverty [Wed, 7 Nov 2018 11:44:55 +0000 (11:44 +0000)]
Merge pull request #820 from puppetlabs/pdksync_pdksync_heads/
master-0-gabccfb1
pdksync - pdksync_heads/
master-0-gabccfb1
David Swan [Wed, 7 Nov 2018 10:20:58 +0000 (10:20 +0000)]
david22swan [Fri, 2 Nov 2018 12:22:43 +0000 (12:22 +0000)]
Merge pull request #819 from rodjek/epp-files-lf
(maint) Prefer LF over CRLF line endings for .epp files
david22swan [Wed, 31 Oct 2018 11:59:22 +0000 (11:59 +0000)]
Merge pull request #815 from simondeziel/modules-8081
(MODULES-8081): add support for hkps:// protocol in apt::key
Tim Sharpe [Tue, 23 Oct 2018 09:53:59 +0000 (20:53 +1100)]
(maint) Prefer LF over CRLF line endings for .epp files
TP Honey [Mon, 22 Oct 2018 14:37:03 +0000 (15:37 +0100)]
Merge pull request #818 from eimlav/refresh-changes
(maint) - Minor logic changes related to apt_key refresh param
Eimhin Laverty [Mon, 22 Oct 2018 13:52:31 +0000 (14:52 +0100)]
Test ensure value of key is passed in for apt::source
Eimhin Laverty [Mon, 22 Oct 2018 13:33:47 +0000 (14:33 +0100)]
Added default refresh value to apt::key default unit test
Eimhin Laverty [Mon, 22 Oct 2018 13:33:04 +0000 (14:33 +0100)]
Removed duplicated test
Simon Deziel [Fri, 19 Oct 2018 23:19:21 +0000 (19:19 -0400)]
(MODULES-8081): style improvement to apt_key_provider_spec.rb
Simon Deziel [Fri, 19 Oct 2018 20:36:54 +0000 (16:36 -0400)]
(MODULES-8081): improve variable assignment/condition testing in apt_key_provider_spec.rb
Simon Deziel [Fri, 19 Oct 2018 20:11:08 +0000 (16:11 -0400)]
(MODULES-8081): mention hkps:// protocol in key.pp and s/and/&&/ in apt_key_provider_spec.rb
Eimhin Laverty [Fri, 19 Oct 2018 13:54:30 +0000 (14:54 +0100)]
(maint) - Minor logic changes related to apt_key refresh param
Simon Deziel [Thu, 18 Oct 2018 20:44:17 +0000 (16:44 -0400)]
(MODULES-8081): hkps:// protocol is supported on Ubuntu 18.04 only
Simon Deziel [Wed, 10 Oct 2018 03:52:49 +0000 (23:52 -0400)]
(MODULES-8081): add support for hkps:// protocol in apt::key
Add hkps:// to the list of protocols supported by apt::key
(hkp://, http:// and https://).
Eimhin Laverty [Mon, 8 Oct 2018 16:19:43 +0000 (17:19 +0100)]
Merge pull request #813 from david22swan/Loc_update
(maint) - Localization test updates and Minor syntax refactor
David Swan [Mon, 8 Oct 2018 14:01:25 +0000 (15:01 +0100)]
(maint) - Localization test updates and Minor syntax refactor
Eimhin Laverty [Fri, 5 Oct 2018 15:26:15 +0000 (16:26 +0100)]
Merge pull request #812 from pmcmaw/Update_localization_tests
(maint) - Updating loc tests to include Japanese translations
David Swan [Fri, 5 Oct 2018 10:12:20 +0000 (11:12 +0100)]
(maint) - Update of puppet manifest loc test's
Paula Muir [Fri, 5 Oct 2018 09:02:50 +0000 (10:02 +0100)]
(maint) - Updating loc tests to include Japanese translations
transifex-bot [Thu, 4 Oct 2018 16:07:34 +0000 (09:07 -0700)]
(L10n) Updating translations for readmes/README_ja_JP.md
transifex-bot [Thu, 4 Oct 2018 16:06:20 +0000 (09:06 -0700)]
(L10n) Updating translations for locales/ja/puppetlabs-apt.po
Eimhin Laverty [Tue, 2 Oct 2018 14:17:06 +0000 (15:17 +0100)]
Merge pull request #811 from puppetlabs/pmcmaw-patch-1
(maint) - Update Link to REFERENCE.md
Paula Muir [Tue, 2 Oct 2018 13:40:20 +0000 (14:40 +0100)]
(maint) - Update Link to REFERENCE.md
Paula Muir [Tue, 2 Oct 2018 10:13:37 +0000 (11:13 +0100)]
Merge pull request #810 from puppetlabs/release
Release merge back 6.1.1
Dave Armstrong [Mon, 1 Oct 2018 16:45:51 +0000 (17:45 +0100)]
Merge pull request #809 from pmcmaw/MODULES-8020
(MODULES-8020) - Release Prep 6.1.1
Paula Muir [Mon, 1 Oct 2018 15:59:12 +0000 (16:59 +0100)]
(MODULES-8020) - Release Prep 6.1.1
Eimhin Laverty [Mon, 1 Oct 2018 14:37:43 +0000 (15:37 +0100)]
Merge pull request #807 from puppetlabs/release
(MODULES-7873) - 6.1.0 Merge Back
Paula Muir [Mon, 1 Oct 2018 09:44:46 +0000 (10:44 +0100)]
Merge pull request #808 from puppetlabs/revert-801-modules6408
Revert "(MODULES-6408) - Fix dirmngr install failing"
Eimhin Laverty [Mon, 1 Oct 2018 09:23:46 +0000 (10:23 +0100)]
Revert "(MODULES-6408) - Fix dirmngr install failing"
david22swan [Fri, 28 Sep 2018 15:01:13 +0000 (16:01 +0100)]
Merge pull request #806 from puppetlabs/pdksync_puppet_6_release_prep
Module Release Prep 6.1.0
Paula Muir [Thu, 27 Sep 2018 12:19:04 +0000 (13:19 +0100)]
Module Release Prep
clairecadman [Fri, 28 Sep 2018 12:53:26 +0000 (13:53 +0100)]
Update README.md
This commit includes a few minor grammatical and localization edits.
Paula Muir [Thu, 27 Sep 2018 09:50:27 +0000 (10:50 +0100)]
Merge pull request #798 from puppetlabs/pdksync_MODULES-6805
pdksync - (MODULES-6805) metadata.json shows support for puppet 6
Paula Muir [Thu, 27 Sep 2018 09:49:56 +0000 (10:49 +0100)]
Merge pull request #802 from eimlav/update-reference
(maint) - Update docs to reflect changes in key.pp
Eimhin Laverty [Thu, 27 Sep 2018 09:22:01 +0000 (10:22 +0100)]
(maint) - Update docs to reflect changes in key.pp
david22swan [Wed, 26 Sep 2018 12:06:10 +0000 (13:06 +0100)]
Merge pull request #801 from eimlav/modules6408
(MODULES-6408) - Fix dirmngr install failing
Eimhin Laverty [Wed, 26 Sep 2018 10:27:56 +0000 (11:27 +0100)]
(MODULES-6408) - Fix dirmngr install failing
david22swan [Tue, 25 Sep 2018 08:23:11 +0000 (09:23 +0100)]
Merge pull request #800 from puppetlabs/pdksync_FM-7392_pdk_update
pdksync - (FM-7392) - Puppet 6 Testing Changes
Paula Muir [Mon, 24 Sep 2018 16:02:25 +0000 (17:02 +0100)]
(FM-7392) - Puppet 6 Testing Changes
Paula Muir [Mon, 24 Sep 2018 14:22:47 +0000 (15:22 +0100)]
Merge pull request #799 from eimlav/string-fix
(maint) - Fix cut off summary for apt_key
Paula Muir [Mon, 24 Sep 2018 13:29:40 +0000 (14:29 +0100)]
Merge pull request #795 from eimlav/modules3307
(MODULES-3307) - Auto update expired keys
Eimhin Laverty [Mon, 24 Sep 2018 13:13:06 +0000 (14:13 +0100)]
(maint) - Fix cut off summary for apt_key
Eimhin Laverty [Tue, 18 Sep 2018 16:55:55 +0000 (17:55 +0100)]
(MODULES-3307) - Auto update expired keys