beaker-pe 2.11.18 → 2.11.20

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: 1d1413bb33ad2872c13f73139d7c84890259cc831db06d0d34b93e98f3f86416
4
- data.tar.gz: 945f17cf188d4a0eaf282da3db6e0a851397fcd177d74fc43c184a3e5418e9e6
3
+ metadata.gz: 21a476e83cec11a4482e2ef0ad3a98f4ab4c6f8ded3f4f9f29d4bf581a91fb97
4
+ data.tar.gz: f0896760878018b6d733d6a6064f502ba25fcaf9b4f4fe5590f02e7e1d7f56a2
5
5
  SHA512:
6
- metadata.gz: f9214eb375767886803d62479a46a86d5dcce7531be74124bac6a3c3f352ab3e59fe67c2b22b77dc6414d959e02562c24eee88f7c208bfea996d1123f9367513
7
- data.tar.gz: ca87fd01f4350efc2b5bf7438215b443ee06f2215ed2edbddf6d31f691bbdc22bf7ac85a3a55f31fa6351d58bffc9c250a8b7242220af82173b01e5f3d2dbc96
6
+ metadata.gz: 40f9d7178a59bc28ce4a6faf7df20e0a6bf93d8ddd3a7083a0f82c84a6521d35c1570b6ddf7a8634f36dbc6ea317593f708b12ca6d6f837f6919478cce28e1f3
7
+ data.tar.gz: 5fa09470a51a6564a68f37679900ca2567906db681dc36cca687016d1285de6a2e0b324af5242462d9772112ba7d3928402a99130c37749038b2315d8983f80b
data/CODEOWNERS CHANGED
@@ -1,5 +1,5 @@
1
- #This Repository is maintained by both the beaker, installer, and Night's Watch teams, depending on the location of the changes
2
- * @puppetlabs/dio
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/night-s-watch
4
+ /lib/beaker-pe/pe-client-tools @puppetlabs/installer-and-management
5
5
  /spec/beaker-pe/install @puppetlabs/installer-and-management
@@ -258,6 +258,9 @@ module Beaker
258
258
  pe_cmd += " -y"
259
259
  end
260
260
 
261
+ configure_flags = host['configure_flags'] || opts[:configure_flags]
262
+ pe_cmd += " -- #{configure_flags}" if configure_flags
263
+
261
264
  # If we are doing an upgrade from 2016.2.0,
262
265
  # we can assume there will be a valid pe.conf in /etc that we can re-use.
263
266
  # We also expect that any custom_answers specified to beaker have been
@@ -720,8 +723,10 @@ module Beaker
720
723
  configure_puppet_agent_service(:ensure => 'stopped', :enabled => false)
721
724
  end
722
725
 
726
+ # waitforlock in case stopping the agent run after stopping the agent service
727
+ # takes a little longer than usual
723
728
  step "Run puppet to setup mcollective and pxp-agent" do
724
- on(master, puppet_agent('-t'), :acceptable_exit_codes => [0,2])
729
+ on(master, puppet_agent('-t --waitforlock 1'), :acceptable_exit_codes => [0,2])
725
730
  end
726
731
 
727
732
  install_agents_only_on(agents, opts)
@@ -970,7 +975,9 @@ module Beaker
970
975
  step "First puppet agent run" do
971
976
  # Run the agent once to ensure everything is in the dashboard
972
977
  install_hosts.each do |host|
973
- on host, puppet_agent('-t'), :acceptable_exit_codes => [0,2]
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]
974
981
 
975
982
  # Workaround for PE-1105 when deploying 3.0.0
976
983
  # The installer did not respect our database host answers in 3.0.0,
@@ -1009,7 +1016,9 @@ module Beaker
1009
1016
  # Now that all hosts are in the dashbaord, run puppet one more
1010
1017
  # time to configure mcollective
1011
1018
  install_hosts.each do |host|
1012
- on host, puppet_agent('-t'), :acceptable_exit_codes => [0,2]
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]
1013
1022
  # To work around PE-14318 if we just ran puppet agent on the
1014
1023
  # database node we will need to wait until puppetdb is up and
1015
1024
  # running before continuing
@@ -2111,8 +2120,10 @@ EOM
2111
2120
  stop_agent_on(agent_nodes, :run_in_parallel => true)
2112
2121
  end
2113
2122
 
2123
+ # waitforlock in case stopping the agent run after stopping the agent service
2124
+ # takes a little longer than usual
2114
2125
  step "Run puppet on all agent nodes" do
2115
- 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
2116
2127
  end
2117
2128
 
2118
2129
  #Workaround for windows frictionless install, see BKR-943
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.11.18'
6
+ STRING = '2.11.20'
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.18
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-07-27 00:00:00.000000000 Z
11
+ date: 2022-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec