beaker-pe 2.11.14 → 2.11.15

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: 8e9b569e250c94eb451c24254d071bb6fef6894f8a88c2935ce971fff81fe67b
4
- data.tar.gz: abcf48ef49c6ce13258c4228ffc01ec4b53edac71a05617f5e35da6f0c3d28fe
3
+ metadata.gz: 324a9d18893ffc429e8ac5dd4539df131a61b3317c0993ce5c69945d836dea14
4
+ data.tar.gz: 283b5c762fb1f8918a46f743cd07f0b700cb28c94046a9f1f0b99efeea068c38
5
5
  SHA512:
6
- metadata.gz: edd113d5a18fadcba0f7eb2a9e01bd4bd3335973cc2eca1a649e32cf52e1e7936c76430d8b5b27dda0b1ab2d0122d4d97baa4ed1869f902515e4e9f68b07f433
7
- data.tar.gz: 7074073427dc6118f5e706eaf600dc8d72b15b8488cb12cc8515e4f52da20a1431fc7b8e7b314e2015e286c7c3d867ea28b7b25e2a3c8de3a25833b9945a7412
6
+ metadata.gz: 07bd5f9ef9c47d1af9c7b2df095ecdcc0e3c190181a9043171428c43685f1d7fe238e02886b120bdb4e950ed483084ea09b95fcd5742c2fc2bb32740ba967823
7
+ data.tar.gz: dbc42764185aad94c793e0d66c6007a3db6b29e5b71e4e07b853196526132a6cb74ad95565f354a57016e4192a8a7af80684a8f6136c3ca8c3dedf21e0205d2f
@@ -422,12 +422,12 @@ module Beaker
422
422
  end
423
423
 
424
424
  if (host['roles'].include?('master') || host['roles'].include?('pe_postgres')) && version_is_less(host[:pe_ver], '2019.8.5') && hosts.any? {|agent| agent['platform'] =~ /(debian)|(ubuntu)|(sles)/}
425
- on(master, "rm -f #{path_to_gpg_key}")
426
- on(master, "curl #{gpg_url} --output #{path_to_gpg_key}")
425
+ on(host, "rm -f #{path_to_gpg_key}")
426
+ on(host, "curl #{gpg_url} --output #{path_to_gpg_key}")
427
427
  if location == 'pe_repo'
428
428
  gpg_key_overwrite(host, 'pe_repo_env')
429
429
  elsif location == 'pe_repo_env'
430
- on master, puppet('agent -t'), :acceptable_exit_codes => [0,2]
430
+ on host, puppet('agent -t'), :acceptable_exit_codes => [0,2]
431
431
  end
432
432
  end
433
433
  end
@@ -2029,7 +2029,9 @@ module Beaker
2029
2029
  end
2030
2030
  end
2031
2031
 
2032
- gpg_key_overwrite(master, 'pe_repo')
2032
+ if hosts.any? {|host| host['roles'].include?('pe_postgres')}
2033
+ gpg_key_overwrite(pe_postgres, 'pe_repo')
2034
+ end
2033
2035
 
2034
2036
  step "Install agents" do
2035
2037
  block_on(agent_nodes, {:run_in_parallel => true}) do |host|
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.11.14'
6
+ STRING = '2.11.15'
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.14
4
+ version: 2.11.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs