beaker-answers 0.2.1 → 0.2.2

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
- ZGU4ZTVkODRkYmE4YjY2YzAxMjVmMDUwNDE1ZGY0Mzc4YjViMWUyMA==
4
+ YjNkZmYyZGQ5YWM1ZGFjYzdiN2JiZjEyYjJkYjI0ZGJjYWE3MzZhOA==
5
5
  data.tar.gz: !binary |-
6
- ZWQwODhjZWQ4YWQ4ODZjM2M0N2RlMmIwOTRjOTZkYzFhMGMxNzA2Zg==
6
+ MjU3MDFmZDMxYmRhMTYzNzk1NzUwNjkwN2Q5NDYwYWY5ZTlmYzIyZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTUzNjJmMjAyZjRiN2I2NDA0MWVkODcxZTQwNTdiMjdlNWQ5NDk1ODg1OTFm
10
- MDgwZDUyMWNhOTM3YmI5YTcxMDNiNmQ1MGRiMTkzZGM3YTlmYTEyNzBjMTQ5
11
- MzlmMTU5NjExNDhmN2QzOGM0ZjVjMDM1NDk4YzMyOWRiZTA2ZWQ=
9
+ ZWE3ZTg0ZWE1MjZiNmViMzIxZGVlZTZmZTIyM2EzMWY4ODE3ZjNjNzJhNDYw
10
+ MjRjMjcyNzc5NGY3ZjE1ODdhNzBlZjY5ODAzMWVmYmJmYzM3YjM1OGY0YzM1
11
+ MTA5MzhjODdiZDcwNmIxOGY3NDAzZGViMGQzMWJhYmI0Mjc4YWY=
12
12
  data.tar.gz: !binary |-
13
- NzgwNmRmNDMwNmM3NzIyYmFjYmU1ZmMzNzI4YjAxNTVmNTk0NWE1N2I4ODIx
14
- MDA3OTA1NGUwOTBiMTYyMmM2MjA2NzM1NDNlMzk5MTJhZDA2NzUzOTUxOWFh
15
- YjhmMWQxNzVjY2UyYTEyMWJkOGQ4YTk5OGRlNzU3MzIwNjNlNjg=
13
+ MmYxYjk1NjUzN2VhN2NkMzM2ODBmNDIzZTAyYjliNjI3NzJiM2ViZmFiYzY5
14
+ MDJjNjQ0N2EwYjE4MTcxY2U0ZTkyNDViNzRjOGEzNDc3M2UyMDFmYzVmYWIz
15
+ MzdkNGI4YTgxOTRlOTZlYjM4ZDk5OGE5N2IwYzA4ZTFiMjFjZTU=
data/HISTORY.md CHANGED
@@ -1,11 +1,35 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 31 Aug, 2015 (42b63e85)](#LATEST)
3
+ * [LATEST - 1 Sep, 2015 (33430738)](#LATEST)
4
+ * [0.2.1 - 31 Aug, 2015 (5aa509e2)](#0.2.1)
4
5
  * [0.2.0 - 31 Aug, 2015 (6447f9bc)](#0.2.0)
5
6
  * [0.1.0 - 26 Aug, 2015 (ef47972d)](#0.1.0)
6
7
 
7
8
  ## Details
8
- ### <a name = "LATEST">LATEST - 31 Aug, 2015 (42b63e85)
9
+ ### <a name = "LATEST">LATEST - 1 Sep, 2015 (33430738)
10
+
11
+ * (GEM) update beaker-answers version to 0.2.2 (33430738)
12
+
13
+ * Merge pull request #5 from nicklewis/master-requires-database-host (17ff153b)
14
+
15
+
16
+ ```
17
+ Merge pull request #5 from nicklewis/master-requires-database-host
18
+
19
+ (APPMGMT-882) Set q_database_host answer on master
20
+ ```
21
+ * (APPMGMT-882) Set q_database_host answer on master (fcd44f68)
22
+
23
+
24
+ ```
25
+ (APPMGMT-882) Set q_database_host answer on master
26
+
27
+ The master now needs to find the database host in order to setup the
28
+ orchestrator.
29
+ ```
30
+ ### <a name = "0.2.1">0.2.1 - 31 Aug, 2015 (5aa509e2)
31
+
32
+ * (HISTORY) update beaker-answers history for gem release 0.2.1 (5aa509e2)
9
33
 
10
34
  * (GEM) update beaker-answers version to 0.2.1 (42b63e85)
11
35
 
@@ -1,5 +1,5 @@
1
1
  module BeakerAnswers
2
2
  module Version
3
- STRING = '0.2.1'
3
+ STRING = '0.2.2'
4
4
  end
5
5
  end
@@ -26,6 +26,9 @@ module BeakerAnswers
26
26
  the_answers[master.name].merge!(orchestrator_db)
27
27
  the_answers[database.name].merge!(orchestrator_db)
28
28
 
29
+ the_answers[master.name][:q_database_host] = answer_for(@options, :q_database_host, database.to_s)
30
+ the_answers[master.name][:q_database_port] = answer_for(@options, :q_database_port)
31
+
29
32
  the_answers
30
33
  end
31
34
  end
@@ -334,6 +334,11 @@ describe BeakerAnswers::Version20153 do
334
334
  @answers = answers.answers
335
335
  end
336
336
 
337
+ it 'should add database server answers to master' do
338
+ expect( @answers['vm1'][:q_database_host] ).to be === 'vm3'
339
+ expect( @answers['vm1'][:q_database_port] ).to be === 5432
340
+ end
341
+
337
342
  it 'should add orchestrator database answers to master' do
338
343
  expect( @answers['vm1'][:q_orchestrator_database_name] ).to be === 'pe-orchestrator'
339
344
  expect( @answers['vm1'][:q_orchestrator_database_user] ).to be === 'Orc3Str8R'
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.2.1
4
+ version: 0.2.2
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: 2015-08-31 00:00:00.000000000 Z
12
+ date: 2015-09-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec