beaker-answers 0.8.0 → 0.9.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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzcyY2IzZWQ0YTE0OTg3NTYwOWQwZWExM2YyNWVhMjgwNWUyOThlNQ==
4
+ MzJkNzhiMTdiZWZiZTBjYWRiZTM3NzZjYzlkOWE0MzdmOTU1NTdmYg==
5
5
  data.tar.gz: !binary |-
6
- NGJiNWJmNzkyNWZkNTgzM2IwYzczZThlZDE1ZWNlMDJmZmU1NTA4MA==
6
+ MDhkYTdkZWJiN2M3MDBjYjk3MDMyZWQ4OGE0NzhlNjI3MzljZWU0Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MmNhZTg3ZWQ0ZTQ1ZDAxMDhmMThlYzZkZjIyMzlhNzBhN2JlYTQ1ZTY2Y2Zh
10
- MGEwZDk2ZjA4MmI5N2Q4OGZlNWQ1MDE0NGRiNTkwMzU1ZTRhMDcwNDQ4ZWQ3
11
- MDViMzZlMGY0MWQwYWI1ODU5Zjg0MWFhZWE5Y2M2YzZjMzVmNDE=
9
+ NGY4MWMyMzI5ZGM2ZWUwMmUwNDc1YTZlOWUwM2UwMDRhZDI4MjkzYTgyODFm
10
+ ZjM4N2MwZjU0OWFkNTg1ZjRmY2VkZDgzNTQ3NzRjOGM4OGFmY2RiNmNiNDk0
11
+ ODkwNGYyYTlmMTAxMjgyZDJlY2FmMGFmOThhNzc4Njg4MTU3YmI=
12
12
  data.tar.gz: !binary |-
13
- NGYxMTVjZjg3NTMyOWE3YzNmYjYzOTA5MWQ3ZjExMWZlOWNhYWI4MGIwMGQ5
14
- ZTI1MTI2MTcxMjRjYjViZmU0OTJmYzIyZDBmYjk2ZjcxYmE3NTAzNGZkODQz
15
- MzU2YjJiYjkyYzUzZGU3MzE0ZTY3MjRlNDJiM2FjYzVkOTVmMzM=
13
+ MDIwYjNhOWExZDkyMjE2ZGU1MmY2YjEyZWFjOWU4NjNkMmFiNjgwOGVlYjBj
14
+ MDViY2UzNjI3M2NlYzliMDM5MjI3YjhiNDI0Zjk3ODI5YWYyZGVkYzA4ZmRl
15
+ YTI3YjBhNDU2MDc5NDgyODc3MmI1MDBhMGNlNDQxZTVjZmJiNTQ=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 28 Jun, 2016 (e29fe388)](#LATEST)
3
+ * [LATEST - 1 Aug, 2016 (1da88528)](#LATEST)
4
+ * [0.8.0 - 28 Jun, 2016 (d56e6ba8)](#0.8.0)
4
5
  * [0.7.0 - 21 Jun, 2016 (993cf93a)](#0.7.0)
5
6
  * [0.6.0 - 15 Jun, 2016 (a0800e46)](#0.6.0)
6
7
  * [0.5.2 - 6 Jun, 2016 (bb16b018)](#0.5.2)
@@ -19,7 +20,30 @@
19
20
  * [0.1.0 - 26 Aug, 2015 (ef47972d)](#0.1.0)
20
21
 
21
22
  ## Details
22
- ### <a name = "LATEST">LATEST - 28 Jun, 2016 (e29fe388)
23
+ ### <a name = "LATEST">LATEST - 1 Aug, 2016 (1da88528)
24
+
25
+ * (GEM) update beaker-answers version to 0.9.0 (1da88528)
26
+
27
+ * Merge pull request #24 from highb/fix/master/PE-16772_remove_app_orch_from_20163x (fbadab45)
28
+
29
+
30
+ ```
31
+ Merge pull request #24 from highb/fix/master/PE-16772_remove_app_orch_from_20163x
32
+
33
+ (PE-16772) Remove app_orch from 20163x answers
34
+ ```
35
+ * (PE-16772) Remove app_orch from 20163x answers (3a7c2164)
36
+
37
+
38
+ ```
39
+ (PE-16772) Remove app_orch from 20163x answers
40
+
41
+ `puppet_enterprise::use_application_services` is deprecated in 2016.3.x,
42
+ so we should no longer specify it.
43
+ ```
44
+ ### <a name = "0.8.0">0.8.0 - 28 Jun, 2016 (d56e6ba8)
45
+
46
+ * (HISTORY) update beaker-answers history for gem release 0.8.0 (d56e6ba8)
23
47
 
24
48
  * (GEM) update beaker-answers version to 0.8.0 (e29fe388)
25
49
 
@@ -1,5 +1,5 @@
1
1
  module BeakerAnswers
2
2
  module Version
3
- STRING = '0.8.0'
3
+ STRING = '0.9.0'
4
4
  end
5
5
  end
@@ -12,6 +12,11 @@ module BeakerAnswers
12
12
 
13
13
  def generate_answers
14
14
  the_answers = super
15
+
16
+ # use_application_services is deprecated
17
+ the_answers.delete('puppet_enterprise::use_application_services')
18
+
19
+ the_answers
15
20
  end
16
21
  end
17
22
  end
@@ -0,0 +1,43 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ describe BeakerAnswers::Version20163 do
5
+ let( :ver ) { '2016.3.0' }
6
+ let( :options ) { StringifyHash.new }
7
+ let( :basic_hosts ) { make_hosts( {'pe_ver' => ver } ) }
8
+ let( :hosts ) { basic_hosts[0]['roles'] = ['master', 'agent']
9
+ basic_hosts[1]['roles'] = ['dashboard', 'agent']
10
+ basic_hosts[2]['roles'] = ['database', 'agent']
11
+ basic_hosts }
12
+ let( :answers ) { BeakerAnswers::Answers.create(ver, hosts, options) }
13
+ let( :answer_hash ) { answers.answers }
14
+
15
+ context 'when generating a hiera config' do
16
+ context 'for a monolithic install' do
17
+ let( :basic_hosts ) { make_hosts( {'pe_ver' => ver }, 1 ) }
18
+ let( :hosts ) { basic_hosts[0]['roles'] = ['master', 'agent', 'dashboard', 'database']
19
+ basic_hosts }
20
+ let( :gold_role_answers ) do
21
+ {
22
+ "console_admin_password" => default_password,
23
+ "puppet_enterprise::puppet_master_host" => basic_hosts[0].hostname,
24
+ }
25
+ end
26
+
27
+ include_examples 'pe.conf'
28
+ end
29
+
30
+ context 'for a split install' do
31
+ let( :gold_role_answers ) do
32
+ {
33
+ "console_admin_password" => default_password,
34
+ "puppet_enterprise::puppet_master_host" => basic_hosts[0].hostname,
35
+ "puppet_enterprise::console_host" => basic_hosts[1].hostname,
36
+ "puppet_enterprise::puppetdb_host" => basic_hosts[2].hostname,
37
+ }
38
+ end
39
+
40
+ include_examples 'pe.conf'
41
+ end
42
+ end
43
+ 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.8.0
4
+ version: 0.9.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: 2016-06-28 00:00:00.000000000 Z
12
+ date: 2016-08-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -218,6 +218,7 @@ files:
218
218
  - spec/beaker-answers/helpers_spec.rb
219
219
  - spec/beaker-answers/upgrade_spec.rb
220
220
  - spec/beaker-answers/versions/version20162_spec.rb
221
+ - spec/beaker-answers/versions/version20163_spec.rb
221
222
  - spec/helpers.rb
222
223
  - spec/spec_helper.rb
223
224
  homepage: https://github.com/puppetlabs/beaker-answers
@@ -245,4 +246,3 @@ signing_key:
245
246
  specification_version: 4
246
247
  summary: Answer generation for PE Installation!
247
248
  test_files: []
248
- has_rdoc: