beaker-pe 2.1.10 → 2.1.11

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: ca4e8cf7a404336d4ace09991a7abeffde1e07b6
4
- data.tar.gz: 2f049d861b216601f53bcaea9aae18a484afdf5c
3
+ metadata.gz: 56ad877ca03051cb37777bfab4e4fdddb77812f8
4
+ data.tar.gz: 76f82d5067afd25b8d91e028635237937faf403e
5
5
  SHA512:
6
- metadata.gz: be907d05e3883b86cbe9a965fab8c3a635517de48fe70bf67323b1a05d6ec21b6a7c48494486e96d67db14176599c81b0ace33ec91ef50fb9144a0d0a0135c2c
7
- data.tar.gz: 1c27c6aa84aaffe7c56eeafdf8e124d74016474e8a55391dada0400a8add201853290211c03e16313726f28560634cef615474a417a6ede66b92ad6ba2ec1dcb
6
+ metadata.gz: 96d767c4d62da433440997b1f4e993ebe4781c52b4ecd48722081dd502228efca025ab7714dd2cfad9aac5ab4f6ecf82d7a7116eb96fb474254f9e87be8f7d45
7
+ data.tar.gz: ee43b324c93a8a99429bb33e3331d4564c25eb622cdfe5b9624897ecffd43c6a8d9a2b94d8665238a3896b6d8495895c10db7e2a330a826f6d5704a11f3d4539
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
  # Documentation dependencies
29
29
  s.add_development_dependency 'yard'
30
30
  s.add_development_dependency 'markdown'
31
+ s.add_development_dependency 'activesupport', '~> 5.0'
31
32
  s.add_development_dependency 'thin'
32
33
 
33
34
  # Run time dependencies
@@ -790,7 +790,7 @@ module Beaker
790
790
  if host['roles'].include?('frictionless') && (! version_is_less(version, '3.2.0'))
791
791
  # If We're *not* running the classic installer, we want
792
792
  # to make sure the master has packages for us.
793
- if host['platform'] != master['platform'] # only need to do this if platform differs
793
+ if host['packaging_platform'] != master['packaging_platform'] # only need to do this if platform differs
794
794
  deploy_frictionless_to_master(host)
795
795
  end
796
796
  install_ca_cert_on(host, opts)
@@ -1884,7 +1884,7 @@ module Beaker
1884
1884
  agent_nodes.each do |agent|
1885
1885
  # If We're *not* running the classic installer, we want
1886
1886
  # to make sure the master has packages for us.
1887
- if agent['platform'] != master['platform'] # only need to do this if platform differs
1887
+ if agent['packaging_platform'] != master['packaging_platform'] # only need to do this if platform differs
1888
1888
  deploy_frictionless_to_master(agent)
1889
1889
  end
1890
1890
  end
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '2.1.10'
6
+ STRING = '2.1.11'
7
7
  end
8
8
 
9
9
  end
@@ -1371,7 +1371,7 @@ describe ClassMixedWithDSLInstallUtils do
1371
1371
  let(:split_master) { make_host('mono_master', :pe_ver => '2017.2', :platform => 'ubuntu-16.04-x86_64', :roles => ['master', 'agent']) }
1372
1372
  let(:split_database) { make_host('split_database', :pe_ver => '2017.2', :platform => 'ubuntu-16.04-x86_64', :roles => ['database', 'agent']) }
1373
1373
  let(:split_console) { make_host('mono_master', :pe_ver => '2017.2', :platform => 'ubuntu-16.04-x86_64', :roles => ['dashboard', 'agent']) }
1374
- let(:agent) { make_host('agent', :pe_ver => '2017.2', :platform => 'el-7-x86_64', :roles => ['agent'])}
1374
+ let(:agent) { make_host('agent', :pe_ver => '2017.2', :platform => 'el-7-x86_64', :packaging_platform => 'el-7-x86_64', :roles => ['agent'])}
1375
1375
 
1376
1376
  it 'will do a monolithic installation of PE with an external postgres that is managed by PE' do
1377
1377
  allow(subject).to receive(:fetch_pe).with([mono_master, pe_postgres], {}).and_return(true)
@@ -1602,7 +1602,7 @@ describe ClassMixedWithDSLInstallUtils do
1602
1602
 
1603
1603
  describe '#deploy_frictionless_to_master' do
1604
1604
  let(:master) { make_host('master', :pe_ver => '2017.2', :platform => 'ubuntu-16.04-x86_64', :roles => ['master', 'database', 'dashboard']) }
1605
- let(:agent) { make_host('agent', :pe_ver => '2017.2', :platform => 'el-7-x86_64', :roles => ['frictionless']) }
1605
+ let(:agent) { make_host('agent', :pe_ver => '2017.2', :platform => 'el-7-x86_64', :packaging_platform => 'el-7-x86_64', :roles => ['frictionless']) }
1606
1606
  let(:compile_master) { make_host('agent', :pe_ver => '2017.2', :roles => ['frictionless', 'compile_master']) }
1607
1607
  let(:pe_compiler) { make_host('agent', :pe_ver => '2019.2', :roles => ['frictionless', 'pe_compiler']) }
1608
1608
  let(:dispatcher) { double('dispatcher') }
@@ -1972,9 +1972,9 @@ describe ClassMixedWithDSLInstallUtils do
1972
1972
  end
1973
1973
 
1974
1974
  describe 'simple_monolithic_install' do
1975
- let(:monolithic) { make_host('monolithic', :pe_ver => '2016.4', :platform => 'el-7-x86_64', :roles => [ 'master', 'database', 'dashboard' ]) }
1976
- let(:el_agent) { make_host('agent', :pe_ver => '2016.4', :platform => 'el-7-x86_64', :roles => ['frictionless']) }
1977
- let(:deb_agent) { make_host('agent', :pe_ver => '2016.4', :platform => 'debian-7-x86_64', :roles => ['frictionless']) }
1975
+ let(:monolithic) { make_host('monolithic', :pe_ver => '2016.4', :platform => 'el-7-x86_64', :packaging_platform => 'el-7-x86_64', :roles => [ 'master', 'database', 'dashboard' ]) }
1976
+ let(:el_agent) { make_host('agent', :pe_ver => '2016.4', :platform => 'el-7-x86_64', :packaging_platform => 'el-7-86_64', :roles => ['frictionless']) }
1977
+ let(:deb_agent) { make_host('agent', :pe_ver => '2016.4', :platform => 'debian-7-x86_64', :packaging_platform => 'debian-7-x86_64', :roles => ['frictionless']) }
1978
1978
 
1979
1979
  before :each do
1980
1980
  allow(subject).to receive(:on)
@@ -2010,10 +2010,12 @@ describe ClassMixedWithDSLInstallUtils do
2010
2010
  let(:monolithic) { make_host('monolithic',
2011
2011
  :pe_ver => '2016.4',
2012
2012
  :platform => 'el-7-x86_64',
2013
+ :packaging_platform => 'el-7-x86_64',
2013
2014
  :roles => ['master', 'database', 'dashboard']) }
2014
2015
  let(:agent) { make_host('agent',
2015
2016
  :pe_ver => '2016.4',
2016
2017
  :platform => 'el-7-x86_64',
2018
+ :packaging_platform => 'el-7-x86_64',
2017
2019
  :roles => ['frictionless']) }
2018
2020
  before :each do
2019
2021
  allow(subject).to receive(:on)
@@ -2032,6 +2034,7 @@ describe ClassMixedWithDSLInstallUtils do
2032
2034
 
2033
2035
  it 'calls deploy_frictionless_to_master if agent platform is different from master' do
2034
2036
  agent['platform'] = 'deb-7-x86_64'
2037
+ agent['packaging_platform'] = 'deb-7-x86_64'
2035
2038
  expect(subject).to receive(:deploy_frictionless_to_master)
2036
2039
  subject.install_agents_only_on([agent], opts)
2037
2040
  end
@@ -26,6 +26,7 @@ end
26
26
 
27
27
  module HostHelpers
28
28
  HOST_DEFAULTS = { :platform => 'unix',
29
+ :packaging_platform => 'unix',
29
30
  :roles => ['agent'],
30
31
  :snapshot => 'snap',
31
32
  :ip => 'default.ip.address',
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.1.10
4
+ version: 2.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-27 00:00:00.000000000 Z
11
+ date: 2019-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -128,6 +128,20 @@ dependencies:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: activesupport
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '5.0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '5.0'
131
145
  - !ruby/object:Gem::Dependency
132
146
  name: thin
133
147
  requirement: !ruby/object:Gem::Requirement