beaker-pe 2.11.2 → 2.11.3

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: 622a9132221da31a9fd6e3aacb43b0cf59c66de74b0f820e7dbe47755d2c95fc
4
- data.tar.gz: ee49a134484538884b674e8ea8647cfafc415434f0cc09a90fd049ca207c0d2a
3
+ metadata.gz: 49efdb6cd49c32f277ce61b91a13d90b630e5b7aff6f6033e1ee9cac9141d936
4
+ data.tar.gz: 4639ff294f682e89302270b08068170675e02512a6dfe1db2b69619db1c496b0
5
5
  SHA512:
6
- metadata.gz: 05406e9cab8f69de5e71b44bf0962e2302f40b8cad21e35beaee365bb5a300fd129368f074d8a4957c0b50caa0d971d5cc2608b479fa9e275fb29df5dc1741ff
7
- data.tar.gz: fb9bd2b9a116519fead1ad2209da9bd5c152d1146aacc4f1f53c00774d29eb595dcf83c75625c0267ab16b9610ec7be1792b128a9a4de71998963cc6205c0ff7
6
+ metadata.gz: e3f0b13ac514e1af721d6a038588faffcfebb1aa6e10c9eb163e4a1368b959331f0b430298f4ded142c23520a4be45aa88ca1fc0a3548b4765250d68067817b7
7
+ data.tar.gz: 7753f8242e7c093b9d03d5906b6cc42624d9d11254228cabaddd90cb300297d2727959e957cc4eb68c5a3549581f62c9d5c0d4418811eaa7b8978cdcfa06f52a
@@ -1580,7 +1580,8 @@ module Beaker
1580
1580
  configure_type_defaults_on(host)
1581
1581
  prepare_host_installer_options(host)
1582
1582
 
1583
- unless is_upgrade
1583
+ # On upgrade we don't want to update the postgre's pe.conf
1584
+ unless (is_upgrade && host['roles'].include?('pe_postgres'))
1584
1585
  setup_pe_conf(host, hosts, opts)
1585
1586
  end
1586
1587
  end
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.11.2'
6
+ STRING = '2.11.3'
7
7
  end
8
8
 
9
9
  end
@@ -646,29 +646,6 @@ describe ClassMixedWithDSLInstallUtils do
646
646
  def slice_installer_options(host)
647
647
  host.host_hash.select { |k,v| [ :pe_installer_conf_file, :pe_installer_conf_setting].include?(k) }
648
648
  end
649
-
650
- context 'when version < 2016.2.0' do
651
- let(:pe_ver) { '3.8.5' }
652
-
653
- it 'sets legacy settings' do
654
- expect(slice_installer_options(host)).to eq(legacy_settings)
655
- end
656
- end
657
-
658
- context 'when version >= 2016.2.0' do
659
- let (:pe_ver) { '2016.2.0' }
660
-
661
- it 'test use_meep?' do
662
- expect(subject.use_meep?('3.8.5')).to eq(false)
663
- expect(subject.use_meep?('2016.1.2')).to eq(false)
664
- expect(subject.use_meep?('2016.2.0')).to eq(true)
665
- expect(subject.use_meep?('2016.2.0-rc1-gabcdef')).to eq(true)
666
- end
667
-
668
- it 'sets meep settings' do
669
- expect(slice_installer_options(host)).to eq(meep_settings)
670
- end
671
- end
672
649
  end
673
650
 
674
651
  RSpec.shared_examples 'test flag' do |flag_name|
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.2
4
+ version: 2.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-11 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec