beaker-pe 2.0.4 → 2.0.5

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
  SHA1:
3
- metadata.gz: 50ab622f7e8f6f4242ce6616fc903c5ae81d2eef
4
- data.tar.gz: 2f2484aa5fee75589d5d79658210b46ed0b7b3b4
3
+ metadata.gz: 810a638e32dc294936c34623079212f2b7b77c21
4
+ data.tar.gz: c11a26128a6f640c71fb44841df9ed1d4624beb8
5
5
  SHA512:
6
- metadata.gz: a694aefb0b0c243400137e53086ba5dea4b68f6c57cb6419157955fe2fecf4e5a1a37145fef08236955141c8f7819b960abeeb1f1ee880a5f11ce44465c22651
7
- data.tar.gz: 488cd674d291454079307b4751beede9b29287b0693f8cbd391e9a1349f5cc172f2e1fdb75f3c1432f5840e51686297fda786b1f92b90eb2d5b38fd29869869e
6
+ metadata.gz: 03a4c0657c67c53032ee132fce1526fd5611de757f87cec9cc9ea4ba25f103bb786cefbdb186c1134b62c1208a49e305864c88536ece8d155c46178c0ffd4fc6
7
+ data.tar.gz: 83d9c74883455fb2312e35c6b40fb440189c13154bb464e932d73bffee0e7827336b2a4bbc930e40d39b64ed63261f89cf26916c68091c37c64cf9d9d249f14a
@@ -1539,7 +1539,7 @@ module Beaker
1539
1539
  end
1540
1540
  end
1541
1541
 
1542
- step "Final puppet run on infrastructure + postgres node" do
1542
+ step "First puppet run on infrastructure + postgres node" do
1543
1543
  [master, database, dashboard, pe_postgres].uniq.each do |host|
1544
1544
  on host, 'puppet agent -t', :acceptable_exit_codes => [0,2]
1545
1545
  end
@@ -1553,9 +1553,9 @@ module Beaker
1553
1553
  run_puppet_on_non_infrastructure_nodes(non_infrastructure)
1554
1554
  end
1555
1555
 
1556
- step "Run puppet a second time on the primary to populate services.conf (PE-19054)" do
1557
- on master, 'puppet agent -t', :acceptable_exit_codes => [0,2]
1558
- end
1556
+ end
1557
+ step "Run puppet a second time on the primary to populate services.conf (PE-19054)" do
1558
+ on master, 'puppet agent -t', :acceptable_exit_codes => [0,2]
1559
1559
  end
1560
1560
  end
1561
1561
 
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.0.4'
6
+ STRING = '2.0.5'
7
7
  end
8
8
 
9
9
  end
@@ -1389,7 +1389,7 @@ describe ClassMixedWithDSLInstallUtils do
1389
1389
  allow(subject).to receive(:execute_installer_cmd).with(mono_master, {}).once
1390
1390
  allow(subject).to receive(:execute_installer_cmd).with(pe_postgres, {}).once
1391
1391
 
1392
- allow(subject).to receive(:on).with(mono_master, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1392
+ allow(subject).to receive(:on).with(mono_master, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).twice
1393
1393
  allow(subject).to receive(:on).with(pe_postgres, "puppet agent -t", :acceptable_exit_codes=> [0, 2]).once
1394
1394
 
1395
1395
  expect{ subject.do_install_pe_with_pe_managed_external_postgres([mono_master, pe_postgres], {}) }.not_to raise_error
@@ -1412,7 +1412,7 @@ describe ClassMixedWithDSLInstallUtils do
1412
1412
  allow(subject).to receive(:execute_installer_cmd).with(split_console, {}).once
1413
1413
  allow(subject).to receive(:execute_installer_cmd).with(pe_postgres, {}).once
1414
1414
 
1415
- allow(subject).to receive(:on).with(split_master, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1415
+ allow(subject).to receive(:on).with(split_master, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).twice
1416
1416
  allow(subject).to receive(:on).with(split_database, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1417
1417
  allow(subject).to receive(:on).with(split_console, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1418
1418
  allow(subject).to receive(:on).with(pe_postgres, "puppet agent -t", :acceptable_exit_codes=> [0, 2]).once
@@ -1437,7 +1437,7 @@ describe ClassMixedWithDSLInstallUtils do
1437
1437
  allow(subject).to receive(:execute_installer_cmd).with(split_console, {}).once
1438
1438
  allow(subject).to receive(:execute_installer_cmd).with(pe_postgres, {}).once
1439
1439
 
1440
- allow(subject).to receive(:on).with(split_master, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1440
+ allow(subject).to receive(:on).with(split_master, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).twice
1441
1441
  allow(subject).to receive(:on).with(split_database, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1442
1442
  allow(subject).to receive(:on).with(split_console, "puppet agent -t", :acceptable_exit_codes=>[0, 2]).once
1443
1443
  allow(subject).to receive(:on).with(pe_postgres, "puppet agent -t", :acceptable_exit_codes=> [0, 2]).once
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.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-30 00:00:00.000000000 Z
11
+ date: 2018-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec