beaker-answers 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTk5NDU1MTE3NTUxOGE2YmMzZmYyODIxMWU5ZDUyZGU0OWFkMmQ5Yg==
4
+ YzJjYTUxYjY2MDk4NTc3YWQyODRiZTk1OWIzODg1OTY0MzY0ZjdhNw==
5
5
  data.tar.gz: !binary |-
6
- YWY0NDdkZTQ5NTBiYTdiYjM0ODMzYjQ5MjljZjEwZGYxMTA5YjZjNw==
6
+ YTk3N2VkNjYxYWQxNGI2NGI0OTM3MTQ4MTM4YzNjNWI4ZGNiZTUzNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZTc3MGI4OTgyZmY4ZGNkMWViZDEyM2M4ZjJkNmUxNGRhMjAwMWM1YjhlMjg4
10
- NjI0M2IzY2RjOWUwMGU4NzI2ZGYxZDFkZjhiNmJmMzc0Mjg4MzY4M2JhN2Ez
11
- Mzk2ZDVlZTc0MThkMzFiOWFjMmUzZTBmMDRlZTZiZDI1OTczNjM=
9
+ MjkwZWVhMTk4YmNiYTBmNDQyNDQ2MThhODhmYjlmZmVkMmNmNWM4NGQ1Yzg5
10
+ OGIwMzdhNDJkZDc2OGUwYjNjYWQ1NGNlNzRiMjk5OGE1YzQ3NzljNDVhNzg0
11
+ ZGY0MmFkNDQ4YTQ0NmZhNTZiZTQ4OTc5OTQxYzY1OWVhMWZiYmQ=
12
12
  data.tar.gz: !binary |-
13
- NjVlZDBjZDRiNmIwODNkMGZlMmU3ZGE1MDA4ODcwNWExZTBiM2Y3NjI1YjUz
14
- MTQ5NjA2MjU5MjAxNmIwOGQ0NDQ3OWU5ZGNjZTViNWU5OGVkNmNmZWE0YjM3
15
- NWE3YzFhZDBlNDczOGYyZGEzZGYzNTM4OWNhZWFkYTNhNjk2NDU=
13
+ MTA3NjcwYjQwYmM5ZmVhOGRjYmRhODAwYTI0NjRiMjRhNmMzZTJjMTZlZGU4
14
+ ZjkwODYxMjlkZmU3NjU2YTc5MjdiMmFhNDAxYjczMWI5YTRjNDY4YTgzYTA1
15
+ MzcwOWQ3ZmNmNjM0MGVkZTA3N2M3YjFhOTVkZTY5OTM2NGQxZTg=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # worker - History
2
2
  ## Tags
3
- * [LATEST - 22 Mar, 2017 (9b17618d)](#LATEST)
3
+ * [LATEST - 7 Apr, 2017 (297e2195)](#LATEST)
4
+ * [0.15.0 - 22 Mar, 2017 (9df229c3)](#0.15.0)
4
5
  * [0.14.0 - 19 Jan, 2017 (290c75b2)](#0.14.0)
5
6
  * [0.13.0 - 9 Nov, 2016 (729ddd0b)](#0.13.0)
6
7
  * [0.12.0 - 28 Oct, 2016 (b18d96b7)](#0.12.0)
@@ -26,7 +27,25 @@
26
27
  * [0.1.0 - 26 Aug, 2015 (ef47972d)](#0.1.0)
27
28
 
28
29
  ## Details
29
- ### <a name = "LATEST">LATEST - 22 Mar, 2017 (9b17618d)
30
+ ### <a name = "LATEST">LATEST - 7 Apr, 2017 (297e2195)
31
+
32
+ * (GEM) update beaker-answers version to 0.16.0 (297e2195)
33
+
34
+ * Merge pull request #34 from demophoon/task/master/pe-20023-hoyt-pipeline (964be80f)
35
+
36
+
37
+ ```
38
+ Merge pull request #34 from demophoon/task/master/pe-20023-hoyt-pipeline
39
+
40
+ (PE-20023) Update beaker answers for Hoyt
41
+ ```
42
+ * (PE-20023) Add specs to hoyt answer generation (97050662)
43
+
44
+ * (PE-20023) Update beaker answers for Hoyt (25cc1a80)
45
+
46
+ ### <a name = "0.15.0">0.15.0 - 22 Mar, 2017 (9df229c3)
47
+
48
+ * (HISTORY) update beaker-answers history for gem release 0.15.0 (9df229c3)
30
49
 
31
50
  * (GEM) update beaker-answers version to 0.15.0 (9b17618d)
32
51
 
@@ -1,5 +1,5 @@
1
1
  module BeakerAnswers
2
2
  module Version
3
- STRING = '0.15.0'
3
+ STRING = '0.16.0'
4
4
  end
5
5
  end
@@ -0,0 +1,13 @@
1
+ require 'beaker-answers/versions/version20172'
2
+
3
+ module BeakerAnswers
4
+ # This class provides answer file information for PE version 2017.3
5
+ #
6
+ # @api private
7
+ class Version20173 < Version20172
8
+ # The version of PE that this set of answers is appropriate for
9
+ def self.pe_version_matcher
10
+ /\A2017\.3/
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,53 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ describe BeakerAnswers::Version20173 do
5
+ let(:ver) { '2017.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.15.0
4
+ version: 0.16.0
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: 2017-03-22 00:00:00.000000000 Z
12
+ date: 2017-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -214,6 +214,7 @@ files:
214
214
  - lib/beaker-answers/versions/version20165.rb
215
215
  - lib/beaker-answers/versions/version20171.rb
216
216
  - lib/beaker-answers/versions/version20172.rb
217
+ - lib/beaker-answers/versions/version20173.rb
217
218
  - lib/beaker-answers/versions/version28.rb
218
219
  - lib/beaker-answers/versions/version30.rb
219
220
  - lib/beaker-answers/versions/version32.rb
@@ -228,6 +229,7 @@ files:
228
229
  - spec/beaker-answers/versions/version20163_spec.rb
229
230
  - spec/beaker-answers/versions/version20171_spec.rb
230
231
  - spec/beaker-answers/versions/version20172_spec.rb
232
+ - spec/beaker-answers/versions/version20173_spec.rb
231
233
  - spec/helpers.rb
232
234
  - spec/shared/context.rb
233
235
  - spec/spec_helper.rb