beaker-pe 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-pe/install/pe_utils.rb +4 -5
- data/lib/beaker-pe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97bd6a543781b23b5db74e34d21bf25090df35b2
|
4
|
+
data.tar.gz: e4c3a2042167ac2d97cb32785eaf81f98fc15d56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 667cd0c54bb1f9aa9dd2e014322fb866d5313a793ce8ccdd9032bf3a66ea4c9951f5534dfd9d76b15b32a2278b3e69ea329e9531a890624d094d41e239447376
|
7
|
+
data.tar.gz: cdba8e5acabb39ee557c7d914349bc280e374283e293eb5c080fdaa3e9fde1c47def8ae881325a6a2f3b7a62c70adbd7cdd01225b6854fb66253f709ff9732a6
|
@@ -738,9 +738,11 @@ module Beaker
|
|
738
738
|
on host, "curl --proxy #{@proxy_hostname}:3128 http://#{@osmirror_host}", :acceptable_exit_codes => [0]
|
739
739
|
# Verify we can't reach it without the proxy
|
740
740
|
on host, "curl -k http://#{@osmirror_host} -m 5", :acceptable_exit_codes => [28]
|
741
|
+
# For ubuntu we configure Apt to use a proxy globally
|
741
742
|
if host.host_hash[:platform].include?("ubuntu")
|
742
743
|
on host, "echo 'Acquire::http::Proxy \"http://'#{@proxy_hostname}':3128/\";' >> /etc/apt/apt.conf"
|
743
744
|
on host, "echo 'Acquire::https::Proxy \"http://'#{@proxy_hostname}':3128/\";' >> /etc/apt/apt.conf"
|
745
|
+
# For SLES we configure ENV variables to use a proxy, then set no_proxy on master and possible CM
|
744
746
|
elsif host.host_hash[:platform].include?("sles")
|
745
747
|
on host, 'rm /etc/sysconfig/proxy'
|
746
748
|
on host, 'echo "PROXY_ENABLED=\"yes\"" >> /etc/sysconfig/proxy'
|
@@ -752,12 +754,9 @@ module Beaker
|
|
752
754
|
no_proxy_list.concat(",#{compile_master}")
|
753
755
|
end
|
754
756
|
on host, "echo \"NO_PROXY='#{no_proxy_list}'\" >> /etc/sysconfig/proxy"
|
757
|
+
# For Redhat/Centos we configre Yum globally to use a proxy
|
755
758
|
else
|
756
|
-
|
757
|
-
repo_list = on(host, "ls /etc/yum.repos.d/").output.strip.split("\n")
|
758
|
-
repo_list.each do |repo|
|
759
|
-
on host, "echo \"proxy=http://#{@proxy_hostname}:3128\" >> /etc/yum.repos.d/#{repo}"
|
760
|
-
end
|
759
|
+
on host, "echo 'proxy=http://#{@proxy_hostname}:3128' >> /etc/yum.conf"
|
761
760
|
end
|
762
761
|
end
|
763
762
|
end
|
data/lib/beaker-pe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-pe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|