beaker-pe 3.6.1 → 3.6.2
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/lib/beaker-pe/install/pe_utils.rb +10 -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: 82fe681f6a5d8f304089ca2dca03e4e9080cbf502b0665e072103dac9e9e4aa9
|
|
4
|
+
data.tar.gz: 22f5065db00df1654fdc261de80272b0a3719db9fc6e2027b0f92d3e300f90e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc742e9c75813510b30970550c55ec34c56727e1209e2c8a71ea69c89ff1fe1a67e4abd1e4f98ae39ed5d01140f4ad04b6afd795ed264f9c3fd840c749c9ab9a
|
|
7
|
+
data.tar.gz: 20d4a84d869295af9703cc72e0c2f3f277e8735f0380337f13ea1be23c51a081c6171ae73c5c4edfee98899327490325ed4f5252513b331ff819b968e05c4066
|
|
@@ -825,8 +825,10 @@ NOASK
|
|
|
825
825
|
|
|
826
826
|
install_agents_only_on(agents, opts)
|
|
827
827
|
|
|
828
|
+
# waitforlock in case install_agents_only_on triggers a puppet run on the
|
|
829
|
+
# master that is still in progress when we get here
|
|
828
830
|
step "Run puppet a second time on the primary to populate services.conf (PE-19054)" do
|
|
829
|
-
on(master, puppet_agent(
|
|
831
|
+
on(master, puppet_agent("-t #{waitforlock_flag(master)}".rstrip), :acceptable_exit_codes => [0,2])
|
|
830
832
|
end
|
|
831
833
|
end
|
|
832
834
|
|
|
@@ -2102,9 +2104,11 @@ EOM
|
|
|
2102
2104
|
stop_agent_on(pe_infrastructure, :run_in_parallel => true)
|
|
2103
2105
|
end
|
|
2104
2106
|
|
|
2107
|
+
# waitforlock in case stopping the agent run after stopping the agent service
|
|
2108
|
+
# takes a little longer than usual
|
|
2105
2109
|
step "First puppet run on infrastructure + postgres node" do
|
|
2106
2110
|
[master, database, dashboard, pe_postgres].uniq.each do |host|
|
|
2107
|
-
on host,
|
|
2111
|
+
on host, ["puppet agent -t", waitforlock_flag(host)].reject(&:empty?).join(' '), :acceptable_exit_codes => [0,2]
|
|
2108
2112
|
end
|
|
2109
2113
|
end
|
|
2110
2114
|
|
|
@@ -2112,13 +2116,15 @@ EOM
|
|
|
2112
2116
|
install_agents_only_on(non_infrastructure, opts)
|
|
2113
2117
|
|
|
2114
2118
|
step "Run puppet to setup mcollective and pxp-agent" do
|
|
2115
|
-
on master,
|
|
2119
|
+
on master, ["puppet agent -t", waitforlock_flag(master)].reject(&:empty?).join(' '), :acceptable_exit_codes => [0,2]
|
|
2116
2120
|
run_puppet_on_non_infrastructure_nodes(non_infrastructure)
|
|
2117
2121
|
end
|
|
2118
2122
|
|
|
2119
2123
|
end
|
|
2124
|
+
# waitforlock in case install_agents_only_on triggers a puppet run on the
|
|
2125
|
+
# master that is still in progress when we get here
|
|
2120
2126
|
step "Run puppet a second time on the primary to populate services.conf (PE-19054)" do
|
|
2121
|
-
on master,
|
|
2127
|
+
on master, ["puppet agent -t", waitforlock_flag(master)].reject(&:empty?).join(' '), :acceptable_exit_codes => [0,2]
|
|
2122
2128
|
end
|
|
2123
2129
|
end
|
|
2124
2130
|
|
data/lib/beaker-pe/version.rb
CHANGED
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: 3.6.
|
|
4
|
+
version: 3.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
@@ -320,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
320
320
|
- !ruby/object:Gem::Version
|
|
321
321
|
version: '0'
|
|
322
322
|
requirements: []
|
|
323
|
-
rubygems_version:
|
|
323
|
+
rubygems_version: 4.0.10
|
|
324
324
|
specification_version: 4
|
|
325
325
|
summary: Beaker PE DSL Helpers!
|
|
326
326
|
test_files: []
|