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 +4 -4
- data/lib/beaker-pe/install/pe_utils.rb +6 -4
- data/lib/beaker-pe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 324a9d18893ffc429e8ac5dd4539df131a61b3317c0993ce5c69945d836dea14
|
4
|
+
data.tar.gz: 283b5c762fb1f8918a46f743cd07f0b700cb28c94046a9f1f0b99efeea068c38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
426
|
-
on(
|
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
|
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
|
-
|
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|
|
data/lib/beaker-pe/version.rb
CHANGED