diff --git a/CHANGELOG.mkd b/CHANGELOG.mkd index 0e459d2fd..27214b40c 100644 --- a/CHANGELOG.mkd +++ b/CHANGELOG.mkd @@ -3,7 +3,6 @@ CHANGELOG Unreleased ---- -- Increase `pool_size` default to 4 from 1 [#1044](https://github.com/puppetlabs/r10k/pull/1044) - Add exec environment source type. The exec source type allows for the implementation of external environment sources [#1042](https://github.com/puppetlabs/r10k/pull/1042) 3.4.1 diff --git a/lib/r10k/puppetfile.rb b/lib/r10k/puppetfile.rb index 648e88541..070d93913 100644 --- a/lib/r10k/puppetfile.rb +++ b/lib/r10k/puppetfile.rb @@ -10,7 +10,7 @@ class Puppetfile include R10K::Settings::Mixin - def_setting_attr :pool_size, 4 + def_setting_attr :pool_size, 1 include R10K::Logging diff --git a/lib/r10k/settings.rb b/lib/r10k/settings.rb index e29602696..20333dc62 100644 --- a/lib/r10k/settings.rb +++ b/lib/r10k/settings.rb @@ -159,8 +159,8 @@ def self.global_settings }), Definition.new(:pool_size, { - :desc => "The amount of threads used to concurrently install modules. The default value is 4: install four modules at a time.", - :default => 4, + :desc => "The amount of threads used to concurrently install modules. The default value is 1: install one module at a time.", + :default => 1, :validate => lambda do |value| if !value.is_a?(Integer) raise ArgumentError, "The pool_size setting should be an integer, not a #{value.class}"