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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d489d0aec55279c22ee7c655f3becf5d1dd8b04c
4
- data.tar.gz: 0097776b4d29049f559cbc7812e052c7c902c6c2
3
+ metadata.gz: 97bd6a543781b23b5db74e34d21bf25090df35b2
4
+ data.tar.gz: e4c3a2042167ac2d97cb32785eaf81f98fc15d56
5
5
  SHA512:
6
- metadata.gz: 13203aa9ab9d23a07434ce414696c35aa4e513a0488a10eb0a0a842fedb554e6fe1f6dc2c67c56bd204396a8a2604aa1fc192a9f2f0fddba3eee74680810ff08
7
- data.tar.gz: cfa8218a3cf30dbeff6c2e41ae9601505e709604451ab447a47816ff036d6a9ad6132eea0bc1e3abba6de10926d637f98d61c0ee164c598786b82bb3d609bc20
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
- #Hacky work around until we configure puppet_enteprise::repo::config to set proxy=_none_ in the puppet_enteprrise.repo
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
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.11.0'
6
+ STRING = '2.11.1'
7
7
  end
8
8
 
9
9
  end
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.0
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-25 00:00:00.000000000 Z
11
+ date: 2019-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec