]>
review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/log
jbondpdx [Thu, 28 Jan 2016 19:45:35 +0000 (11:45 -0800)]
MODULES-2941: add example to README
Helen [Wed, 27 Jan 2016 16:16:25 +0000 (16:16 +0000)]
Merge pull request #585 from DavidS/fm-4049-update-msync
(FM-4049) update to modulesync_configs
David Schmitt [Mon, 25 Jan 2016 15:42:27 +0000 (15:42 +0000)]
(FM-4049) Update to current msync configs [
2c99161 ]
JT (Jonny) [Tue, 19 Jan 2016 16:09:39 +0000 (16:09 +0000)]
Merge pull request #583 from tdb/fix_ppa_pluses
Handle PPA names that contain a plus character.
Tim Bishop [Mon, 18 Jan 2016 21:47:32 +0000 (21:47 +0000)]
Handle PPA names that contain a plus character.
It looks like add-apt-repository changes pluses to underscores when
creating the sources.list.d file. So the name it creates doesn't match
what Puppet expects, and the resource keeps applying on every Puppet
run.
This works around that problem.
Bryan Jen [Wed, 6 Jan 2016 21:38:31 +0000 (14:38 -0700)]
Merge pull request #572 from twc-openstack/master-tempfile-race-condition
Fix apt_key tempfile race condition
Bryan Jen [Tue, 15 Dec 2015 17:25:01 +0000 (10:25 -0700)]
Merge pull request #578 from phervieux/15.10
Add ubuntu 15.10 support
TP Honey [Mon, 14 Dec 2015 11:27:00 +0000 (11:27 +0000)]
Merge pull request #577 from syseleven/pp-2587
fix whitespace in source.list
Andreas Mauf [Mon, 14 Dec 2015 09:20:40 +0000 (10:20 +0100)]
MODULES-2889 - remove unneeded whitespace in source.list template
Daniele Sluijters [Thu, 10 Dec 2015 22:55:07 +0000 (23:55 +0100)]
Merge pull request #575 from ryayon/master
MODULES-2861: run stages limitation added to the documentation.
Rudy YAYON [Thu, 10 Dec 2015 10:22:22 +0000 (11:22 +0100)]
MODULES-2861: run stages limitation added to the documentation
David Schmitt [Tue, 8 Dec 2015 15:09:12 +0000 (15:09 +0000)]
Merge pull request #576 from puppetlabs/2.2.x
Mergeback 2.2.x
Bryan Jen [Tue, 24 Nov 2015 19:04:29 +0000 (12:04 -0700)]
Merge pull request #573 from HelenCampbell/release2.2.1
Release 2.2.1
Helen Campbell [Mon, 23 Nov 2015 12:31:23 +0000 (12:31 +0000)]
Release 2.2.1
Clayton O'Neill [Wed, 11 Nov 2015 20:11:24 +0000 (20:11 +0000)]
Fix apt_key tempfile race condition
The Ruby Tempfile class has a finalizer that removes the file when the
GC runs. It's not predictible when the GC will run, so you have to
ensure that the instance of the class stays in scope for as long as you
need it.
Unfortunately the tempfile method is returning just the filename of the
temporary file, which means it goes out of scope when that method
returns. This allows the GC to reap it at any time after return.
In both CI and production environments we've seen this race fail,
causing apt-key add to fail a small (2-3%) amount of the time.
This changes the tempfile and source_to_file methods to return the
underlying Tempfile object, pushing it up into the caller's scope. Both
of the callers immediately use the object to get its filename and then
open the file, eliminating the race.
Tested this by adding 'GC.start; sleep(1)' immediately before the
command is run, to give the GC plenty of time to remove the tempfile if
it was going to.
Patrick Hervieux [Wed, 4 Nov 2015 15:48:22 +0000 (16:48 +0100)]
Add 15.10 support
Bryan Jen [Fri, 9 Oct 2015 19:21:53 +0000 (12:21 -0700)]
Merge pull request #569 from DavidS/improve-readme
(MAINT) improve hiera description
David Schmitt [Fri, 9 Oct 2015 12:07:32 +0000 (13:07 +0100)]
(MAINT) improve hiera description
Hunter Haugen [Tue, 29 Sep 2015 16:47:13 +0000 (09:47 -0700)]
Merge pull request #567 from puppetlabs/2.2.x
Mergeback 2.2.x to master
Hunter Haugen [Fri, 25 Sep 2015 23:28:11 +0000 (16:28 -0700)]
Merge pull request #566 from bmjen/2.2.0-prep
Release prep for 2.2.0
Bryan Jen [Fri, 25 Sep 2015 23:07:57 +0000 (16:07 -0700)]
Release prep for 2.2.0
David Schmitt [Mon, 7 Sep 2015 11:11:31 +0000 (12:11 +0100)]
Merge pull request #564 from rfdrake/apt_pin
Add support for creating pins from main class
Robert Drake [Tue, 1 Sep 2015 16:00:24 +0000 (12:00 -0400)]
Add support for creating pins from main class
This lets you create apt::pin resources as an apt param hash. It also
supplies appropriate tests and documentation.
Morgan Haskel [Wed, 2 Sep 2015 20:26:28 +0000 (13:26 -0700)]
Merge pull request #562 from RewardGateway/preference_file_name
Corrected regression with preference files name
Vincent [Mon, 24 Aug 2015 16:53:02 +0000 (17:53 +0100)]
Corrected regression with preference files name
Signed-off-by: Vincent Deygas <Vincent.Deygas@rewardgateway.com>
Bryan Jen [Wed, 26 Aug 2015 23:45:09 +0000 (16:45 -0700)]
Merge pull request #560 from mhaskel/MODULES-2446
MODULES-2446 - Fix pinning for backports
Morgan Haskel [Wed, 26 Aug 2015 23:29:54 +0000 (16:29 -0700)]
MODULES-2446 - Fix pinning for backports
The 2.x series added a changed behavior for backport pinning to pin to
origin instead of release. Pinning to release is the correct behavior
for backports though.
Morgan Haskel [Mon, 17 Aug 2015 17:57:37 +0000 (10:57 -0700)]
Merge pull request #551 from bdellegrazie/MODULES-2269
Expose notify_update to apt::conf
Daniele Sluijters [Mon, 17 Aug 2015 14:15:04 +0000 (16:15 +0200)]
Merge pull request #557 from fbarbeira/patch-1
Fix path to 'preferences' and 'preferences.d'.
Félix Barbeira [Mon, 17 Aug 2015 12:52:25 +0000 (14:52 +0200)]
Fix path to 'preferences' and 'preferences.d'.
If you follow the documentacion, the hiera file does not work.
Brett Delle Grazie [Thu, 23 Jul 2015 16:15:53 +0000 (17:15 +0100)]
MODULES-2269: Expose notify_update setting
* Expose the underlying notify_update setting of the apt::settings resource
This is because not all configuration file changes should trigger an apt::update notification
* apt::pin also shouldn't result in an apt-update call
Adding a pin configuration should apply to the next apt-get update call it shouldn't trigger one itself.
* Added documentation
* Add tests for apt::conf notify_update
Morgan Haskel [Wed, 5 Aug 2015 20:19:17 +0000 (13:19 -0700)]
Merge pull request #556 from callahm3/master
Proxy ensure parameter.
Callahan, Michael Joseph [Tue, 4 Aug 2015 19:58:32 +0000 (15:58 -0400)]
Added an ensure parameter for user control of proxy presence. Defaults to undef to resist breaking any current setup.
added spec entry
Added validation
fixed ensure hash
David Schmitt [Tue, 28 Jul 2015 15:40:30 +0000 (16:40 +0100)]
Merge pull request #553 from bmjen/2.1.x_mergeback
2.1.x mergeback
Bryan Jen [Mon, 27 Jul 2015 21:14:31 +0000 (14:14 -0700)]
Merge pull request #552 from jbondpdx/2.1.x
light edits to apt README
jbondpdx [Mon, 27 Jul 2015 17:29:01 +0000 (10:29 -0700)]
light edits to apt README
Daniele Sluijters [Thu, 23 Jul 2015 12:10:47 +0000 (14:10 +0200)]
Merge pull request #545 from raoulbhatia/master
Use Debian's new official mirrors redirector
Bryan Jen [Thu, 23 Jul 2015 00:32:38 +0000 (17:32 -0700)]
Merge pull request #550 from mhaskel/2.1.1-prep
2.1.1 prep
Morgan Haskel [Thu, 23 Jul 2015 00:29:56 +0000 (17:29 -0700)]
2.1.1 prep
Bryan Jen [Wed, 22 Jul 2015 23:51:27 +0000 (16:51 -0700)]
Merge pull request #549 from mhaskel/merge_master_to_2.1.x
Merge master to 2.1.x
Morgan Haskel [Wed, 22 Jul 2015 23:27:54 +0000 (16:27 -0700)]
Merge remote-tracking branch 'upstream/master' into merge_master_to_2.1.x
TP Honey [Tue, 21 Jul 2015 17:59:19 +0000 (18:59 +0100)]
Merge pull request #547 from mhaskel/MODULES-2190
Fix anchor issues
Morgan Haskel [Tue, 21 Jul 2015 17:46:34 +0000 (10:46 -0700)]
Add limitations note
Morgan Haskel [Fri, 17 Jul 2015 23:19:33 +0000 (16:19 -0700)]
MODULES-2190 - Fix anchor issues
Daniele Sluijters [Sun, 19 Jul 2015 16:34:12 +0000 (18:34 +0200)]
Merge pull request #548 from leoarnold/README
Corrected documentation warning about `purge` parameters to fit v2.1.0 syntax
Leo Arnold [Sat, 18 Jul 2015 19:58:23 +0000 (21:58 +0200)]
Corrected documentation warning about `purge` parameters to fit v2.1.0 syntax
Raoul Bhatia [Sun, 5 Jul 2015 06:56:38 +0000 (08:56 +0200)]
Use Debian's new official mirrors redirector
See https://www.debian.org/News/weekly/2015/05/#httpredir
Bryan Jen [Mon, 22 Jun 2015 17:27:52 +0000 (10:27 -0700)]
Merge pull request #543 from puppetlabs/revert-542-fix_apt_params
Revert "Fix use of $::apt::params::backports and $::apt::params::xfac…
Morgan Haskel [Mon, 22 Jun 2015 16:30:15 +0000 (09:30 -0700)]
Revert "Fix use of $::apt::params::backports and $::apt::params::xfacts."
JT (Jonny) [Mon, 22 Jun 2015 15:00:39 +0000 (16:00 +0100)]
Merge pull request #542 from infopro-digital/fix_apt_params
Fix use of $::apt::params::backports and $::apt::params::xfacts.
Farzad FARID [Mon, 22 Jun 2015 12:32:58 +0000 (14:32 +0200)]
Fix use of $::apt::params::backports and $::apt::params::xfacts.
Daniele Sluijters [Mon, 22 Jun 2015 07:23:01 +0000 (09:23 +0200)]
Merge pull request #540 from szynaka/apt_conf_comments
Added additional header template for apt.conf style comments
Ed Szynaka [Fri, 19 Jun 2015 06:01:48 +0000 (02:01 -0400)]
Added additional header template for apt.conf style comments
Bryan Jen [Wed, 17 Jun 2015 22:02:45 +0000 (15:02 -0700)]
Merge pull request #539 from mhaskel/lucid_fix
hashes are not supported in selectors
Morgan Haskel [Wed, 17 Jun 2015 21:56:22 +0000 (14:56 -0700)]
hashes are not supported in selectors
Bryan Jen [Wed, 17 Jun 2015 20:26:28 +0000 (13:26 -0700)]
Merge pull request #538 from mhaskel/lucid_fix
typo
Morgan Haskel [Wed, 17 Jun 2015 20:24:49 +0000 (13:24 -0700)]
typo
Bryan Jen [Wed, 17 Jun 2015 19:01:31 +0000 (12:01 -0700)]
Merge pull request #537 from mhaskel/lucid_fix
Don't add puppetlabs sources for lucid
Morgan Haskel [Wed, 17 Jun 2015 18:59:40 +0000 (11:59 -0700)]
Don't add puppetlabs sources for lucid
They no longer exist
Daniele Sluijters [Wed, 17 Jun 2015 17:40:45 +0000 (19:40 +0200)]
Merge pull request #536 from Vincent--/patch-1
Update update.pp
Vincent [Wed, 17 Jun 2015 11:05:37 +0000 (12:05 +0100)]
Update update.pp
Corrected typo
Bryan Jen [Tue, 16 Jun 2015 22:21:41 +0000 (15:21 -0700)]
Merge pull request #535 from mhaskel/merge_2.1.x_to_master
Merge 2.1.x to master
Morgan Haskel [Mon, 15 Jun 2015 20:48:38 +0000 (13:48 -0700)]
Apt::key doesn't have priority.
jbondpdx [Mon, 15 Jun 2015 18:45:59 +0000 (11:45 -0700)]
DOCS: Edits to README.md
Just mostly commas and wording and other edit-y stuff.
Morgan Haskel [Mon, 8 Jun 2015 23:13:59 +0000 (16:13 -0700)]
2.1.0 prep
Daniele Sluijters [Mon, 15 Jun 2015 20:55:05 +0000 (22:55 +0200)]
Merge pull request #534 from mhaskel/remove_bad_example
Apt::key doesn't have priority.
Morgan Haskel [Mon, 15 Jun 2015 20:48:38 +0000 (13:48 -0700)]
Apt::key doesn't have priority.
Daniele Sluijters [Mon, 15 Jun 2015 19:23:46 +0000 (21:23 +0200)]
Merge pull request #533 from jbondpdx/2.1.x
DOCS: Edits to README.md
jbondpdx [Mon, 15 Jun 2015 18:45:59 +0000 (11:45 -0700)]
DOCS: Edits to README.md
Just mostly commas and wording and other edit-y stuff.
Daniele Sluijters [Sun, 14 Jun 2015 18:17:27 +0000 (20:17 +0200)]
Merge pull request #532 from hunner/add_helper
Add helper to install puppet/pe/puppet-agent
Hunter Haugen [Thu, 11 Jun 2015 22:26:17 +0000 (15:26 -0700)]
Add helper to install puppet/pe/puppet-agent
Bryan Jen [Tue, 9 Jun 2015 17:42:34 +0000 (10:42 -0700)]
Merge pull request #530 from mhaskel/2.1.0-prep
2.1.0 prep
Morgan Haskel [Mon, 8 Jun 2015 23:13:59 +0000 (16:13 -0700)]
2.1.0 prep
Daniele Sluijters [Tue, 9 Jun 2015 06:23:08 +0000 (08:23 +0200)]
Merge pull request #531 from justinstoller/maint/master/set-puppet-version
(maint) allow setting PUPPET_VERSION in acceptance
Justin Stoller [Tue, 9 Jun 2015 04:50:05 +0000 (21:50 -0700)]
(maint) allow setting PUPPET_VERSION in acceptance
Morgan Haskel [Mon, 8 Jun 2015 22:08:48 +0000 (15:08 -0700)]
Merge pull request #525 from ianmacl/MODULES-2070
Backwards compatibility with older versions of puppet
Bryan Jen [Mon, 8 Jun 2015 21:37:32 +0000 (14:37 -0700)]
Merge pull request #529 from mhaskel/source_compatibility
API compatibility between 1.8.x and 2.x for apt::source
Morgan Haskel [Thu, 4 Jun 2015 00:19:16 +0000 (17:19 -0700)]
Compatibility between 1.8.x and 2.x for apt::source
Hunter Haugen [Thu, 4 Jun 2015 17:58:51 +0000 (10:58 -0700)]
Merge pull request #527 from mhaskel/key_compatibility
Make apt::key compatible with 1.8.x
Morgan Haskel [Thu, 4 Jun 2015 16:41:27 +0000 (09:41 -0700)]
Make apt::key compatible with 1.8.x
Morgan Haskel [Wed, 27 May 2015 16:48:24 +0000 (09:48 -0700)]
Merge pull request #526 from hunner/fix_travis
Fix travis.yml for puppet 4
Hunter Haugen [Wed, 27 May 2015 15:25:44 +0000 (08:25 -0700)]
Fix travis.yml for puppet 4
I accidentally pushed a commit with modulesync that made puppet 4 a
non-voting job. This should make it more in line with modulesync.
Also, we should look at bumping these ORDERING="random" changes back to
msync if they are valuable.
Hunter Haugen [Wed, 27 May 2015 15:11:16 +0000 (08:11 -0700)]
Add ability to unittest puppet 4
Ian MacLennan [Mon, 25 May 2015 13:28:04 +0000 (09:28 -0400)]
Backwards compatibility with older versions of puppet
Daniele Sluijters [Mon, 11 May 2015 18:33:39 +0000 (20:33 +0200)]
Merge pull request #524 from mhaskel/better_defined_check
Only use the strict variables workaround if using strict variables
Morgan Haskel [Mon, 11 May 2015 17:26:20 +0000 (10:26 -0700)]
Only use the strict variables workaround if using strict variables
This should avoid issues with defined on earlier versions of puppet
Daniele Sluijters [Fri, 8 May 2015 06:20:08 +0000 (08:20 +0200)]
Merge pull request #523 from puppetlabs/modulesync_updates
Modulesync updates
Morgan Haskel [Thu, 7 May 2015 17:09:21 +0000 (10:09 -0700)]
have the right gems
Morgan Haskel [Thu, 7 May 2015 16:48:33 +0000 (09:48 -0700)]
Add gem to sync.yml
Morgan Haskel [Wed, 6 May 2015 22:15:21 +0000 (15:15 -0700)]
sync via modulesync
Morgan Haskel [Wed, 6 May 2015 22:15:26 +0000 (15:15 -0700)]
Merge pull request #521 from hunner/fix_stubs
Don't stub puppetversion
Hunter Haugen [Wed, 6 May 2015 22:10:05 +0000 (15:10 -0700)]
Don't stub puppetversion
The puppetversion fact still needs to represent puppet's version that is being used to test
Hunter Haugen [Wed, 6 May 2015 21:44:50 +0000 (14:44 -0700)]
Merge pull request #520 from mhaskel/sync
test against puppet4
Morgan Haskel [Wed, 6 May 2015 21:38:15 +0000 (14:38 -0700)]
test against puppet4
Morgan Haskel [Fri, 1 May 2015 16:51:18 +0000 (09:51 -0700)]
Merge pull request #519 from puppetlabs/puppet4-strictvars
Test with strict variables on Puppet 4 too.
Daniele Sluijters [Thu, 30 Apr 2015 21:20:12 +0000 (23:20 +0200)]
Test with strict variables on Puppet 4 too.
It's only as of Puppet 5 that strict variables becomes the default so
we need to specify it too for Puppet 4.
Daniele Sluijters [Thu, 30 Apr 2015 21:18:06 +0000 (23:18 +0200)]
Merge pull request #518 from mhaskel/test_fix
Stubbing File.file? is hard
Morgan Haskel [Thu, 30 Apr 2015 19:54:37 +0000 (12:54 -0700)]
Stubbing File.file? is hard
Morgan Haskel [Wed, 29 Apr 2015 22:38:38 +0000 (15:38 -0700)]
Merge pull request #505 from puppetlabs/install-lsb-release
Clear up lsb-release error
Morgan Haskel [Wed, 29 Apr 2015 22:37:59 +0000 (15:37 -0700)]
Merge pull request #508 from puppetlabs/travis-puppet4
Puppet 4 support