beaker-pe 2.11.8 → 2.11.13

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
  SHA256:
3
- metadata.gz: 405e2df559bbc58f3276296b09461c2fbf9096b5d88061097a69dab3877ab982
4
- data.tar.gz: 00479874f7c314e0f5e803ecdfab2ea0158dff21648b3a08f64f9ca1d67b80bf
3
+ metadata.gz: 278ceb769e990a1ceb6fc3a83f4869ce7913190123332936ef36fadddc17172d
4
+ data.tar.gz: 2a746b54a02eea0e43d693a99c75b6718cdd81b7142bd0148fcfa3ca12bbf1ff
5
5
  SHA512:
6
- metadata.gz: 99b201517f264cdd54d12d535ed683d25f90ef86c7529b5190e63091b37088d5c63169df621b8aedabd5b98510f4a65bececcbbd3efa9286120c2705f4787789
7
- data.tar.gz: 36f09dc7bb699212210eab2385bdcebda15194f5f4f0a9796599115e6076c94e7339fd67c87fc1e41d6069ba1154ef98a5e53197b457b9845fd49700880e5d01
6
+ metadata.gz: 8d3ee52a7aac5657a1bed7a1fb8483f5580a220dc4b2f4cd49a9a5dbed49845b16b18924534eed741d560f49131988a953c63111d9588c30aa547d15ee4e7ed8
7
+ data.tar.gz: ebbb6347e0403eb5bcf86725b8b2ed34aa8b7b8fa94d87630fff27a10e8e312ea42139be4fff85edbecc6a96b33de9401ce9f56de9a5d0d15acaad74c759897e
data/Gemfile CHANGED
@@ -15,6 +15,7 @@ end
15
15
  group :acceptance_testing do
16
16
  gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.0')
17
17
  gem "beaker-vmpooler", *location_for(ENV['BEAKER_VMPOOLER_VERSION'] || '~> 1.3')
18
+ gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.8')
18
19
  end
19
20
 
20
21
  gem "scooter", *location_for(ENV['SCOOTER_VERSION'] || '~> 4.3')
data/README.md CHANGED
@@ -70,10 +70,10 @@ you'd like to provide your own hosts file, set the `CONFIG` environment variable
70
70
  # Release
71
71
 
72
72
  To release new versions, we use a
73
- [Jenkins job](https://cinext-jenkinsmaster-sre-prod-1.delivery.puppetlabs.net/job/qe_beaker-pe-gem_init-multijob_master/)
73
+ [Jenkins job](https://cinext-jenkinsmaster-sre-prod-1.delivery.puppetlabs.net/job/qe_beaker-pe-gem_init-multijob_main/)
74
74
  (access to internal infrastructure will be required to view job).
75
75
 
76
- To release a new version (from the master branch), you'll need to just provide
76
+ To release a new version (from the main branch), you'll need to just provide
77
77
  a new beaker-pe version number to the job, and you're off to the races.
78
78
 
79
79
  # Questions
@@ -139,7 +139,7 @@ module Beaker
139
139
  #Return true if tlsv1 protocol needs to be enforced
140
140
  #param [Host] the host
141
141
  def require_tlsv1?(host)
142
- tlsv1_platforms = [/aix/, /el-5/, /solaris-1[0,1]-[i,x]/, /sles-11/,/windows-2008/]
142
+ tlsv1_platforms = [/el-5/, /solaris-1[0,1]-[i,x]/, /sles-11/,/windows-2008/]
143
143
  return tlsv1_platforms.any? {|platform_regex| host['platform'] =~ platform_regex}
144
144
  end
145
145
 
@@ -184,6 +184,18 @@ module Beaker
184
184
  pe_debug = host[:pe_debug] || opts[:pe_debug] ? ' -x' : ''
185
185
  use_puppet_ca_cert = host[:use_puppet_ca_cert] || opts[:use_puppet_ca_cert]
186
186
 
187
+ # PE 2019.8.3 had a bug in the frictionless install of osx-10.14 and osx-10.15
188
+ # We need to do a bit of a hacky process to install the agent
189
+ if host['platform'] =~ /osx-10\.1(4|5)/ && (pe_version.eql?('2019.8.3') || pe_version.eql?('2019.8.4'))
190
+ return "curl -kO https://#{downloadhost}:8140/packages/current/#{host['platform']}.bash && bash #{host['platform']}.bash"
191
+ end
192
+
193
+ # PE 2019.8.5 has an issue with the GPG key that does not allow el-5 and sles-11 to install the puppet-agent
194
+ if host['platform'] =~ /(el-5)|(sles-11)/ && pe_version.eql?('2019.8.5')
195
+ on(host, "curl --remote-name --location http://yum.puppet.com/RPM-GPG-KEY-puppet-20250406")
196
+ on(host, "rpm --import RPM-GPG-KEY-puppet-20250406")
197
+ end
198
+
187
199
  if host['platform'] =~ /windows/ then
188
200
  if use_puppet_ca_cert
189
201
  frictionless_install_opts << '-UsePuppetCA'
@@ -205,7 +217,7 @@ module Beaker
205
217
  end
206
218
  if use_puppet_ca_cert
207
219
  curl_opts << '--cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem'
208
- elsif host['platform'] !~ /aix/
220
+ else
209
221
  curl_opts << '-k'
210
222
  end
211
223
 
@@ -725,12 +737,16 @@ module Beaker
725
737
  hosts.each do |host|
726
738
  step "Configuring #{host} to use proxy" do
727
739
  @osmirror_host = "osmirror.delivery.puppetlabs.net"
740
+ puts "Grabbing IP for osmirror.delivery.puppetlabs.net"
728
741
  @osmirror_host_ip = IPSocket.getaddress(@osmirror_host)
729
742
  @delivery_host = "artifactory.delivery.puppetlabs.net"
743
+ puts "Grabbing IP for artifactory.delivery.puppetlabs.net"
730
744
  @delivery_host_ip = IPSocket.getaddress(@delivery_host)
731
745
  @test_forge_host = "api-forge-aio02-petest.puppet.com"
746
+ puts "Grabbing IP for api-forge-aio02-petest.puppet.com"
732
747
  @test_forge_host_ip = IPSocket.getaddress(@test_forge_host)
733
748
  @github_host = "github.com"
749
+ puts "Grabbing IP for github.com"
734
750
  @github_host_ip = IPSocket.getaddress(@github_host)
735
751
  @proxy_ip = @options[:proxy_ip]
736
752
  @proxy_hostname = @options[:proxy_hostname]
@@ -751,6 +767,9 @@ module Beaker
751
767
  on host, "iptables -A OUTPUT -p tcp -d #{@osmirror_host_ip} -j DROP"
752
768
  on host, "iptables -A OUTPUT -p tcp -d #{@delivery_host_ip} -j DROP"
753
769
  on host, "iptables -A OUTPUT -p tcp -d #{@test_forge_host_ip} -j DROP"
770
+ # The next two lines are for our production and test k8s test runners
771
+ on host, "iptables -A OUTPUT -p tcp -d 10.236.112.0/20 -j ACCEPT"
772
+ on host, "iptables -A OUTPUT -p tcp -d 10.220.0.0/16 -j ACCEPT"
754
773
  # The next two lines clear the rest of the internal puppet lan
755
774
  on host, "iptables -A OUTPUT -p tcp -d 10.16.0.0/16 -j ACCEPT"
756
775
  on host, "iptables -A OUTPUT -p tcp -d 10.32.0.0/16 -j ACCEPT"
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.11.8'
6
+ STRING = '2.11.13'
7
7
  end
8
8
 
9
9
  end
@@ -263,7 +263,7 @@ describe ClassMixedWithDSLInstallUtils do
263
263
  expecting = [
264
264
  "FRICTIONLESS_TRACE='true'",
265
265
  "export FRICTIONLESS_TRACE",
266
- "cd /tmp && curl -O --tlsv1 https://testmaster:8140/packages/current/install.bash && bash install.bash"
266
+ "cd /tmp && curl -O --tlsv1 -k https://testmaster:8140/packages/current/install.bash && bash install.bash"
267
267
  ].join("; ")
268
268
 
269
269
  expect( subject.frictionless_agent_installer_cmd( host, {}, '2016.4.0' ) ).to eq(expecting)
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.8
4
+ version: 2.11.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-06 00:00:00.000000000 Z
11
+ date: 2021-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec