beaker-answers 0.26.0 → 0.28.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3b94651c5a5b71218cfc354ec829a75855b091ed
4
- data.tar.gz: 329a134d15678b5673c62d9c3fd0bc9511ee9bb4
2
+ SHA256:
3
+ metadata.gz: b9abe49b1810724c5ba81b237f7054c3a2dbd943b3d8cb163c29b449bffb400b
4
+ data.tar.gz: 1800e262631673dbca74b93b358a413277dcbd5fdcf4540f20507b39a3bd522c
5
5
  SHA512:
6
- metadata.gz: 985a8a3cd19b932102c97802cc4c0affeb7452ebadd65b71344718a1b4e41aea978b5ac8065e8f45cb5699e3c5e5cfa5110feb41f12f0ac533b8679a8ee06d30
7
- data.tar.gz: 9512f0ff0648c54d9f89e9b150b395c275245dafdcd70763163a5b40be8dd3b880ab97b62ae7864f1abcfe9d89a5590f04189e8db3864176dbf75b864e3c4b79
6
+ metadata.gz: 6dc2177d7e5fa41bf3592b0bbc5efc2ecaeca5ccc6db0cd44b8b319fba3b059ee97a663dd482fbfbe11e64d56eec53a93a0c5fc633c48367d16cb5841985d3ee
7
+ data.tar.gz: e31d1fcb50055a0492d64ca0949e61c51065f1542f1a459d4b4bf60abc598173bd62c0e5ce8a3da5d4c800efbbf12c719dfddf6a149cb5cd2afc6d1906ee12d6
@@ -0,0 +1,8 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ time: "13:00"
8
+ open-pull-requests-limit: 10
@@ -0,0 +1,2 @@
1
+ # This repo is owned by the Installer team
2
+ * @puppetlabs/installer-and-management
data/README.md CHANGED
@@ -13,10 +13,10 @@ key concepts.
13
13
  # Release
14
14
 
15
15
  To release a new version, we use a
16
- [Jenkins job](https://jenkins-qe.delivery.puppetlabs.net/job/qe_beaker-answers_btc-rls/)
16
+ [Jenkins job](https://cinext-jenkinsmaster-sre-prod-1.delivery.puppetlabs.net/view/beaker%20Release%20Jobs/job/qe_beaker-answers_init-multijob_main/)
17
17
  (access to internal infrastructure will be required to view job).
18
18
 
19
- To release a new version (from the master branch), you'll need to just provide
19
+ To release a new version (from the main branch), you'll need to just provide
20
20
  a new beaker-answers version number to the job, and you're off to the races.
21
21
 
22
22
  # Questions
@@ -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
@@ -91,7 +91,7 @@ module BeakerAnswers
91
91
  postgres_password_answers(pe_conf, '1.0')
92
92
  end
93
93
  else
94
- postgres_password_answers(pe_conf, '1.0')
94
+ postgres_cert_answers(pe_conf, '1.0')
95
95
  end
96
96
  end
97
97
 
@@ -1,5 +1,5 @@
1
1
  module BeakerAnswers
2
2
  module Version
3
- STRING = '0.26.0'
3
+ STRING = '0.28.0'
4
4
  end
5
5
  end
@@ -1,13 +1,13 @@
1
1
  require 'beaker-answers/versions/version20172'
2
2
 
3
3
  module BeakerAnswers
4
- # This class provides answer file information for PE version 2017.3
4
+ # This class provides answer file information for PE version 2017.3 AND BEYOND
5
5
  #
6
6
  # @api private
7
- class Version20173 < Version20172
7
+ class Version20173to9999 < Version20172
8
8
  # The version of PE that this set of answers is appropriate for
9
9
  def self.pe_version_matcher
10
- /\A2017\.3/
10
+ /\A(2017\.3|2018\.[1-2]|2019\.[0-9]|20[2-9][1-9]\.[0-9])/
11
11
  end
12
12
  end
13
13
  end
@@ -1,53 +1,81 @@
1
1
  require 'spec_helper'
2
2
  require 'json'
3
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
4
+ describe BeakerAnswers::Version20173to9999 do
5
+ versions = [
6
+ '2017.3.0',
7
+ '2017.3.9999',
8
+ '2018.1.0',
9
+ '2018.1.9999',
10
+ '2018.2.0',
11
+ '2019.0.0',
12
+ '2019.1.0',
13
+ '2019.2.0',
14
+ '2019.3.0',
15
+ '2019.3.99',
16
+ '2019.9.99',
17
+ '2020.0.0',
18
+ '2029.0.0',
19
+ '2099.0.0',
20
+ '2099.99.99',
21
+ ]
25
22
 
26
- include_examples 'pe.conf'
27
- include_examples 'valid MEEP 1.0 pe.conf'
23
+ versions.each do | version |
24
+ let(:ver) { version }
25
+ let(:options) { StringifyHash.new }
26
+ let(:mono_hosts) do
27
+ basic_hosts = make_hosts({'pe_ver' => ver }, 1)
28
+ basic_hosts[0]['roles'] = ['master', 'agent', 'dashboard', 'database']
29
+ basic_hosts[0]['platform'] = 'el-7-x86_64'
30
+ basic_hosts
28
31
  end
29
- end
32
+ let(:answers) { BeakerAnswers::Answers.create(ver, hosts, options) }
33
+ let(:answer_hash) { answers.answers }
34
+
35
+ context 'when generating a default 1.0 config' do
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
+ "puppet_enterprise::puppet_master_host" => hosts[0].hostname,
42
+ }
43
+ end
44
+
45
+ it "is testing version #{version}" do
46
+ expect(version).not_to be_empty
47
+ end
30
48
 
31
- context 'when generating a meep 2.0 config' do
32
- before(:each) do
33
- options[:meep_schema_version] = '2.0'
49
+ include_examples 'pe.conf'
50
+ include_examples 'valid MEEP 1.0 pe.conf'
51
+ end
34
52
  end
35
53
 
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
- }
54
+ context 'when generating a meep 2.0 config' do
55
+ before(:each) do
56
+ options[:meep_schema_version] = '2.0'
47
57
  end
48
58
 
49
- include_examples 'pe.conf'
50
- include_examples 'valid MEEP 2.0 pe.conf'
59
+ context 'for a monolithic install' do
60
+ let(:hosts) { mono_hosts }
61
+ let(:gold_role_answers) do
62
+ {
63
+ "console_admin_password" => default_password,
64
+ "node_roles" => {
65
+ "pe_role::monolithic::primary_master" => [hosts[0].hostname],
66
+ },
67
+ "agent_platforms" => match_array(['el_7_x86_64']),
68
+ "meep_schema_version" => "2.0",
69
+ }
70
+ end
71
+
72
+ it "is testing version #{version}" do
73
+ expect(version).not_to be_empty
74
+ end
75
+
76
+ include_examples 'pe.conf'
77
+ include_examples 'valid MEEP 2.0 pe.conf'
78
+ end
51
79
  end
52
80
  end
53
81
  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.0
4
+ version: 0.28.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: 2019-04-18 00:00:00.000000000 Z
12
+ date: 2020-11-07 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
@@ -215,16 +201,17 @@ executables:
215
201
  extensions: []
216
202
  extra_rdoc_files: []
217
203
  files:
204
+ - ".github/dependabot.yml"
218
205
  - ".gitignore"
219
206
  - ".rspec"
220
207
  - ".rubocop.yml"
221
208
  - ".rubocop_todo.yml"
222
209
  - ".simplecov"
223
210
  - ".travis.yml"
211
+ - CODEOWNERS
224
212
  - Gemfile
225
213
  - HISTORY.md
226
214
  - LICENSE
227
- - MAINTAINERS
228
215
  - README.md
229
216
  - Rakefile
230
217
  - beaker-answers.gemspec
@@ -246,11 +233,6 @@ files:
246
233
  - lib/beaker-answers/versions/version20171.rb
247
234
  - lib/beaker-answers/versions/version20172.rb
248
235
  - lib/beaker-answers/versions/version20173.rb
249
- - lib/beaker-answers/versions/version20181.rb
250
- - lib/beaker-answers/versions/version20182.rb
251
- - lib/beaker-answers/versions/version20190.rb
252
- - lib/beaker-answers/versions/version20191.rb
253
- - lib/beaker-answers/versions/version20192.rb
254
236
  - lib/beaker-answers/versions/version28.rb
255
237
  - lib/beaker-answers/versions/version30.rb
256
238
  - lib/beaker-answers/versions/version32.rb
@@ -266,11 +248,6 @@ files:
266
248
  - spec/beaker-answers/versions/version20171_spec.rb
267
249
  - spec/beaker-answers/versions/version20172_spec.rb
268
250
  - spec/beaker-answers/versions/version20173_spec.rb
269
- - spec/beaker-answers/versions/version20181_spec.rb
270
- - spec/beaker-answers/versions/version20182_spec.rb
271
- - spec/beaker-answers/versions/version20190_spec.rb
272
- - spec/beaker-answers/versions/version20191_spec.rb
273
- - spec/beaker-answers/versions/version20192_spec.rb
274
251
  - spec/helpers.rb
275
252
  - spec/shared/context.rb
276
253
  - spec/spec_helper.rb
@@ -293,8 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
293
270
  - !ruby/object:Gem::Version
294
271
  version: '0'
295
272
  requirements: []
296
- rubyforge_project:
297
- rubygems_version: 2.5.1
273
+ rubygems_version: 3.0.8
298
274
  signing_key:
299
275
  specification_version: 4
300
276
  summary: Answer generation for PE Installation!
@@ -1,33 +0,0 @@
1
- {
2
- "version": 1,
3
- "file_format": "This MAINTAINERS file format is described at http://pup.pt/maintainers",
4
- "issues": "https://tickets.puppet.com/browse/PE",
5
- "internal_list": "https://groups.google.com/a/puppet.com/forum/?hl=en#!forum/discuss-organizational-scale",
6
- "people": [
7
- {
8
- "github": "kevpl",
9
- "email": "ki@puppet.com",
10
- "name": "Kevin Imber"
11
- },
12
- {
13
- "github": "tvpartytonight",
14
- "email": "tv@puppet.com",
15
- "name": "Tony Vu"
16
- },
17
- {
18
- "github": "jpartlow",
19
- "email": "joshua.partlow@puppet.com",
20
- "name": "Josh Partlow"
21
- },
22
- {
23
- "github": "demophoon",
24
- "email": "britt@puppet.com",
25
- "name": "Britt Gresham"
26
- },
27
- {
28
- "github": "highb",
29
- "email": "brandon.high@puppet.com",
30
- "name": "Brandon High"
31
- }
32
- ]
33
- }
@@ -1,14 +0,0 @@
1
- require 'beaker-answers/versions/version20173'
2
-
3
- module BeakerAnswers
4
- # This class provides answer file information for PE version 2018.1
5
- #
6
- # @api private
7
- class Version20181 < Version20173
8
- # The version of PE that this set of answers is appropriate for
9
- def self.pe_version_matcher
10
- /\A2018\.1/
11
- end
12
-
13
- end
14
- end
@@ -1,14 +0,0 @@
1
- require 'beaker-answers/versions/version20181'
2
-
3
- module BeakerAnswers
4
- # This class provides answer file information for PE version 2018.2
5
- #
6
- # @api private
7
- class Version20182 < Version20181
8
- # The version of PE that this set of answers is appropriate for
9
- def self.pe_version_matcher
10
- /\A2018\.2/
11
- end
12
-
13
- end
14
- end
@@ -1,14 +0,0 @@
1
- require 'beaker-answers/versions/version20181'
2
-
3
- module BeakerAnswers
4
- # This class provides answer file information for PE version 2019.0
5
- #
6
- # @api private
7
- class Version20190 < Version20181
8
- # The version of PE that this set of answers is appropriate for
9
- def self.pe_version_matcher
10
- /\A2019\.0/
11
- end
12
-
13
- end
14
- end
@@ -1,13 +0,0 @@
1
- require 'beaker-answers/versions/version20190'
2
-
3
- module BeakerAnswers
4
- # This class provides answer file information for PE version 2019.1
5
- #
6
- # @api private
7
- class Version20191 < Version20190
8
- # The version of PE that this set of answers is appropriate for
9
- def self.pe_version_matcher
10
- /\A2019\.1/
11
- end
12
- end
13
- end
@@ -1,13 +0,0 @@
1
- require 'beaker-answers/versions/version20191'
2
-
3
- module BeakerAnswers
4
- # This class provides answer file information for PE version 2019.1
5
- #
6
- # @api private
7
- class Version20192 < Version20191
8
- # The version of PE that this set of answers is appropriate for
9
- def self.pe_version_matcher
10
- /\A2019\.2/
11
- end
12
- end
13
- end
@@ -1,53 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
-
4
- describe BeakerAnswers::Version20181 do
5
- let(:ver) { '2018.1.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
@@ -1,53 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
-
4
- describe BeakerAnswers::Version20182 do
5
- let(:ver) { '2018.2.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
@@ -1,53 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
-
4
- describe BeakerAnswers::Version20190 do
5
- let(:ver) { '2019.0.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
@@ -1,53 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
-
4
- describe BeakerAnswers::Version20191 do
5
- let(:ver) { '2019.1.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
@@ -1,53 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
-
4
- describe BeakerAnswers::Version20192 do
5
- let(:ver) { '2019.2.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