beaker-answers 0.26.2 → 0.26.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
  SHA1:
3
- metadata.gz: 751db3bda4b4f5454d75b3f9fbfe8a79a9ba4687
4
- data.tar.gz: c5347d881336ffa94a8ea2d24f2ab285206c4adb
3
+ metadata.gz: 305781152442137cf2af774a2df23b52871456de
4
+ data.tar.gz: 06505bce6d2c3c3bf05c85d8664179afd4925588
5
5
  SHA512:
6
- metadata.gz: 9d43094f9ab8d43ea0ff91be6f4a30b21c0db59fa126536f1b0f089bb1f6d2bd74dfa8e5eef0ba4a350416f94f643a5b415669905ee54dcaa34a41a8a14abb56
7
- data.tar.gz: cfe8684920f40d13af513d308b10c2ab5e1557f6b453a6de7f9c77436492a423bf0b7da19ebdd222c2c768a2bba799f61b97df95035c889de437121f2d234425
6
+ metadata.gz: 9c8ac26668837b322e400a989eceafb251cf72553530d1fa7f453c98cd1aa25108e3a659feedca8fb122bdcb438d332e1a94d9b729022bb031330972070c7784
7
+ data.tar.gz: 7f7b10219d78554316d918a165f68a5e0477c28696f4d47f25ea70eec4d9414376bd0f2fe2042607b0f967a6b40886b3c5e06e1bfca8ad169c84df02e0ce73e7
@@ -0,0 +1,2 @@
1
+ # This repo is owned by the Installer team
2
+ * @puppetlabs/installer-and-management
@@ -29,7 +29,6 @@ Gem::Specification.new do |s|
29
29
 
30
30
  # Documentation dependencies
31
31
  s.add_development_dependency 'yard'
32
- s.add_development_dependency 'markdown'
33
32
  s.add_development_dependency 'thin'
34
33
 
35
34
  # Run time dependencies
@@ -1,5 +1,5 @@
1
1
  module BeakerAnswers
2
2
  module Version
3
- STRING = '0.26.2'
3
+ STRING = '0.26.3'
4
4
  end
5
5
  end
@@ -0,0 +1,13 @@
1
+ require 'beaker-answers/versions/version20192'
2
+
3
+ module BeakerAnswers
4
+ # This class provides answer file information for PE version 2019.3
5
+ #
6
+ # @api private
7
+ class Version20193 < Version20192
8
+ # The version of PE that this set of answers is appropriate for
9
+ def self.pe_version_matcher
10
+ /\A2019\.3/
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,53 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ describe BeakerAnswers::Version20193 do
5
+ let(:ver) { '2019.3.0' }
6
+ let(:options) { StringifyHash.new }
7
+ let(:mono_hosts) do
8
+ basic_hosts = make_hosts({'pe_ver' => ver }, 1)
9
+ basic_hosts[0]['roles'] = ['master', 'agent', 'dashboard', 'database']
10
+ basic_hosts[0]['platform'] = 'el-7-x86_64'
11
+ basic_hosts
12
+ end
13
+ let(:answers) { BeakerAnswers::Answers.create(ver, hosts, options) }
14
+ let(:answer_hash) { answers.answers }
15
+
16
+ context 'when generating a default 1.0 config' do
17
+ context 'for a monolithic install' do
18
+ let(:hosts) { mono_hosts }
19
+ let(:gold_role_answers) do
20
+ {
21
+ "console_admin_password" => default_password,
22
+ "puppet_enterprise::puppet_master_host" => hosts[0].hostname,
23
+ }
24
+ end
25
+
26
+ include_examples 'pe.conf'
27
+ include_examples 'valid MEEP 1.0 pe.conf'
28
+ end
29
+ end
30
+
31
+ context 'when generating a meep 2.0 config' do
32
+ before(:each) do
33
+ options[:meep_schema_version] = '2.0'
34
+ end
35
+
36
+ context 'for a monolithic install' do
37
+ let(:hosts) { mono_hosts }
38
+ let(:gold_role_answers) do
39
+ {
40
+ "console_admin_password" => default_password,
41
+ "node_roles" => {
42
+ "pe_role::monolithic::primary_master" => [hosts[0].hostname],
43
+ },
44
+ "agent_platforms" => match_array(['el_7_x86_64']),
45
+ "meep_schema_version" => "2.0",
46
+ }
47
+ end
48
+
49
+ include_examples 'pe.conf'
50
+ include_examples 'valid MEEP 2.0 pe.conf'
51
+ end
52
+ end
53
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-answers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.2
4
+ version: 0.26.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-05-15 00:00:00.000000000 Z
12
+ date: 2019-10-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fakefs
@@ -137,20 +137,6 @@ dependencies:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
- - !ruby/object:Gem::Dependency
141
- name: markdown
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - ">="
145
- - !ruby/object:Gem::Version
146
- version: '0'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- version: '0'
154
140
  - !ruby/object:Gem::Dependency
155
141
  name: thin
156
142
  requirement: !ruby/object:Gem::Requirement
@@ -221,6 +207,7 @@ files:
221
207
  - ".rubocop_todo.yml"
222
208
  - ".simplecov"
223
209
  - ".travis.yml"
210
+ - CODEOWNERS
224
211
  - Gemfile
225
212
  - HISTORY.md
226
213
  - LICENSE
@@ -251,6 +238,7 @@ files:
251
238
  - lib/beaker-answers/versions/version20190.rb
252
239
  - lib/beaker-answers/versions/version20191.rb
253
240
  - lib/beaker-answers/versions/version20192.rb
241
+ - lib/beaker-answers/versions/version20193.rb
254
242
  - lib/beaker-answers/versions/version28.rb
255
243
  - lib/beaker-answers/versions/version30.rb
256
244
  - lib/beaker-answers/versions/version32.rb
@@ -271,6 +259,7 @@ files:
271
259
  - spec/beaker-answers/versions/version20190_spec.rb
272
260
  - spec/beaker-answers/versions/version20191_spec.rb
273
261
  - spec/beaker-answers/versions/version20192_spec.rb
262
+ - spec/beaker-answers/versions/version20193_spec.rb
274
263
  - spec/helpers.rb
275
264
  - spec/shared/context.rb
276
265
  - spec/spec_helper.rb