beaker-pe 2.11.2 → 2.11.3
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 +2 -1
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +0 -23
- 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: 49efdb6cd49c32f277ce61b91a13d90b630e5b7aff6f6033e1ee9cac9141d936
|
|
4
|
+
data.tar.gz: 4639ff294f682e89302270b08068170675e02512a6dfe1db2b69619db1c496b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
data/lib/beaker-pe/version.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|