beaker-pe 2.11.19 → 2.11.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CODEOWNERS +3 -3
- data/lib/beaker-pe/install/pe_utils.rb +12 -4
- data/lib/beaker-pe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21a476e83cec11a4482e2ef0ad3a98f4ab4c6f8ded3f4f9f29d4bf581a91fb97
|
|
4
|
+
data.tar.gz: f0896760878018b6d733d6a6064f502ba25fcaf9b4f4fe5590f02e7e1d7f56a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40f9d7178a59bc28ce4a6faf7df20e0a6bf93d8ddd3a7083a0f82c84a6521d35c1570b6ddf7a8634f36dbc6ea317593f708b12ca6d6f837f6919478cce28e1f3
|
|
7
|
+
data.tar.gz: 5fa09470a51a6564a68f37679900ca2567906db681dc36cca687016d1285de6a2e0b324af5242462d9772112ba7d3928402a99130c37749038b2315d8983f80b
|
data/CODEOWNERS
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#This Repository is maintained by both the
|
|
2
|
-
*
|
|
1
|
+
#This Repository is maintained by both the release engineering, and installer teams, depending on the location of the changes
|
|
2
|
+
* @puppetlabs/release-engineering
|
|
3
3
|
/lib/beaker-pe/install @puppetlabs/installer-and-management
|
|
4
|
-
/lib/beaker-pe/pe-client-tools @puppetlabs/
|
|
4
|
+
/lib/beaker-pe/pe-client-tools @puppetlabs/installer-and-management
|
|
5
5
|
/spec/beaker-pe/install @puppetlabs/installer-and-management
|
|
@@ -723,8 +723,10 @@ module Beaker
|
|
|
723
723
|
configure_puppet_agent_service(:ensure => 'stopped', :enabled => false)
|
|
724
724
|
end
|
|
725
725
|
|
|
726
|
+
# waitforlock in case stopping the agent run after stopping the agent service
|
|
727
|
+
# takes a little longer than usual
|
|
726
728
|
step "Run puppet to setup mcollective and pxp-agent" do
|
|
727
|
-
on(master, puppet_agent('-t'), :acceptable_exit_codes => [0,2])
|
|
729
|
+
on(master, puppet_agent('-t --waitforlock 1'), :acceptable_exit_codes => [0,2])
|
|
728
730
|
end
|
|
729
731
|
|
|
730
732
|
install_agents_only_on(agents, opts)
|
|
@@ -973,7 +975,9 @@ module Beaker
|
|
|
973
975
|
step "First puppet agent run" do
|
|
974
976
|
# Run the agent once to ensure everything is in the dashboard
|
|
975
977
|
install_hosts.each do |host|
|
|
976
|
-
|
|
978
|
+
# waitforlock in case stopping the agent run after stopping the agent service
|
|
979
|
+
# takes a little longer than usual
|
|
980
|
+
on host, puppet_agent('-t --waitforlock 1'), :acceptable_exit_codes => [0,2]
|
|
977
981
|
|
|
978
982
|
# Workaround for PE-1105 when deploying 3.0.0
|
|
979
983
|
# The installer did not respect our database host answers in 3.0.0,
|
|
@@ -1012,7 +1016,9 @@ module Beaker
|
|
|
1012
1016
|
# Now that all hosts are in the dashbaord, run puppet one more
|
|
1013
1017
|
# time to configure mcollective
|
|
1014
1018
|
install_hosts.each do |host|
|
|
1015
|
-
|
|
1019
|
+
# waitforlock in case stopping the agent run after stopping the agent service
|
|
1020
|
+
# takes a little longer than usual
|
|
1021
|
+
on host, puppet_agent('-t --waitforlock 1'), :acceptable_exit_codes => [0,2]
|
|
1016
1022
|
# To work around PE-14318 if we just ran puppet agent on the
|
|
1017
1023
|
# database node we will need to wait until puppetdb is up and
|
|
1018
1024
|
# running before continuing
|
|
@@ -2114,8 +2120,10 @@ EOM
|
|
|
2114
2120
|
stop_agent_on(agent_nodes, :run_in_parallel => true)
|
|
2115
2121
|
end
|
|
2116
2122
|
|
|
2123
|
+
# waitforlock in case stopping the agent run after stopping the agent service
|
|
2124
|
+
# takes a little longer than usual
|
|
2117
2125
|
step "Run puppet on all agent nodes" do
|
|
2118
|
-
on agent_nodes, puppet_agent('-t'), :acceptable_exit_codes => [0,2], :run_in_parallel => true
|
|
2126
|
+
on agent_nodes, puppet_agent('-t --waitforlock 1'), :acceptable_exit_codes => [0,2], :run_in_parallel => true
|
|
2119
2127
|
end
|
|
2120
2128
|
|
|
2121
2129
|
#Workaround for windows frictionless install, see BKR-943
|
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.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|