beaker-puppet 1.26.1 → 1.26.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/beaker-puppet/install_utils/foss_utils.rb +12 -6
- data/lib/beaker-puppet/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebee2d6dab945dc437d7af314caa7b5667ebe4912d229d311b06868f0f791519
|
4
|
+
data.tar.gz: 8b34f260a93353ee742c344ff39986e102054884165024ca5a91b82b14616c78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25eb49dfcb68e27cb9d44d57bf439d640a8e29b5173427139f2d18867729ec6a5449d135cec25b7e6ba74aeb804639ddc120f899822253f339abc36b96a61035
|
7
|
+
data.tar.gz: '03834218105e8e4d38a5b0f9477ab51a1a94925011127ff33b1b1e2ba985dde7543a5ecab2519eee05b96c3724861902e54d6f0def5e927a3b07f5c615d142d3'
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## [1.26.2](https://github.com/voxpupuli/beaker-puppet/tree/1.26.2) (2022-05-31)
|
6
|
+
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.26.1...1.26.2)
|
8
|
+
|
9
|
+
**Merged pull requests:**
|
10
|
+
|
11
|
+
- \(PA-4178\) Only clear and add non-default gem sources [\#190](https://github.com/voxpupuli/beaker-puppet/pull/190) ([joshcooper](https://github.com/joshcooper))
|
12
|
+
|
5
13
|
## [1.26.1](https://github.com/voxpupuli/beaker-puppet/tree/1.26.1) (2022-03-24)
|
6
14
|
|
7
15
|
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.26.0...1.26.1)
|
@@ -1625,12 +1625,18 @@ module Beaker
|
|
1625
1625
|
# Configures gem sources on hosts to use a mirror, if specified
|
1626
1626
|
# This is a duplicate of the Gemfile logic.
|
1627
1627
|
def configure_gem_mirror(hosts)
|
1628
|
-
gem_source = ENV['GEM_SOURCE']
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1628
|
+
gem_source = ENV['GEM_SOURCE']
|
1629
|
+
|
1630
|
+
# Newer versions of rubygems always default the source to https://rubygems.org
|
1631
|
+
# and versions >= 3.1 will try to prompt (and fail) if you add a source that is
|
1632
|
+
# too similar to rubygems.org to prevent typo squatting:
|
1633
|
+
# https://github.com/rubygems/rubygems/commit/aa967b85dd96bbfb350f104125f23d617e82a00a
|
1634
|
+
if gem_source && gem_source !~ /rubygems\.org/
|
1635
|
+
Array(hosts).each do |host|
|
1636
|
+
gem = gem_command(host)
|
1637
|
+
on host, "#{gem} source --clear-all"
|
1638
|
+
on(host, "#{gem} source --add #{gem_source}")
|
1639
|
+
end
|
1634
1640
|
end
|
1635
1641
|
end
|
1636
1642
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.26.
|
4
|
+
version: 1.26.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -269,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: '0'
|
271
271
|
requirements: []
|
272
|
-
rubygems_version: 3.2.
|
272
|
+
rubygems_version: 3.2.33
|
273
273
|
signing_key:
|
274
274
|
specification_version: 4
|
275
275
|
summary: Beaker's Puppet DSL Extension Helpers!
|