diff --git a/CHANGELOG.md b/CHANGELOG.md index dcaf052..089a9f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -### 1.24.2 / 2022-02-20 +### 1.24.2 / 2022-03-09 * Fixed: + * Prevent `spec/` directory symlink recursion in `copy_fixture_modules_to` * Update the derivatives workaround to insert an inert line instead of commenting out the previous line to allow for logic updates * Addressed a bug where passing an empty exceptions array would produce an diff --git a/lib/simp/beaker_helpers.rb b/lib/simp/beaker_helpers.rb index 76d423d..8854945 100644 --- a/lib/simp/beaker_helpers.rb +++ b/lib/simp/beaker_helpers.rb @@ -411,7 +411,7 @@ def copy_fixture_modules_to( suts = hosts, opts = {}) begin tarfile = "#{Simp::BeakerHelpers.tmpname}.tar" - excludes = PUPPET_MODULE_INSTALL_IGNORE.map do |x| + excludes = (PUPPET_MODULE_INSTALL_IGNORE + ['spec']).map do |x| x = "--exclude '*/#{x}'" end.join(' ')