beaker 2.3.0 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +8 -8
  2. data/HISTORY.md +366 -2
  3. data/ext/completion/beaker-completion.bash +1 -1
  4. data/lib/beaker.rb +1 -1
  5. data/lib/beaker/answers.rb +3 -1
  6. data/lib/beaker/answers/version40.rb +42 -0
  7. data/lib/beaker/cli.rb +0 -2
  8. data/lib/beaker/command.rb +10 -2
  9. data/lib/beaker/dsl/ezbake_utils.rb +195 -157
  10. data/lib/beaker/dsl/helpers.rb +9 -6
  11. data/lib/beaker/dsl/install_utils.rb +22 -8
  12. data/lib/beaker/dsl/structure.rb +67 -0
  13. data/lib/beaker/host.rb +14 -4
  14. data/lib/beaker/host/mac.rb +4 -0
  15. data/lib/beaker/host/pswindows.rb +79 -0
  16. data/lib/beaker/host/pswindows/exec.rb +29 -0
  17. data/lib/beaker/host/pswindows/file.rb +15 -0
  18. data/lib/beaker/host/pswindows/group.rb +36 -0
  19. data/lib/beaker/host/pswindows/pkg.rb +47 -0
  20. data/lib/beaker/host/pswindows/user.rb +32 -0
  21. data/lib/beaker/host/unix.rb +16 -6
  22. data/lib/beaker/host/windows.rb +6 -2
  23. data/lib/beaker/host_prebuilt_steps.rb +2 -0
  24. data/lib/beaker/hypervisor.rb +3 -1
  25. data/lib/beaker/hypervisor/aws_sdk.rb +6 -1
  26. data/lib/beaker/hypervisor/docker.rb +6 -1
  27. data/lib/beaker/hypervisor/vagrant.rb +1 -1
  28. data/lib/beaker/hypervisor/vagrant_parallels.rb +18 -0
  29. data/lib/beaker/logger.rb +8 -1
  30. data/lib/beaker/logger_junit.rb +157 -0
  31. data/lib/beaker/network_manager.rb +28 -0
  32. data/lib/beaker/options/presets.rb +6 -0
  33. data/lib/beaker/test_suite.rb +65 -136
  34. data/lib/beaker/version.rb +1 -1
  35. data/spec/beaker/answers_spec.rb +74 -0
  36. data/spec/beaker/dsl/ezbake_utils_spec.rb +167 -126
  37. data/spec/beaker/dsl/install_utils_spec.rb +5 -4
  38. data/spec/beaker/dsl/structure_spec.rb +28 -1
  39. data/spec/beaker/host_prebuilt_steps_spec.rb +2 -1
  40. data/spec/beaker/host_spec.rb +1 -7
  41. data/spec/beaker/hypervisor/docker_spec.rb +19 -1
  42. data/spec/beaker/hypervisor/vagrant_parallels_spec.rb +44 -0
  43. data/spec/beaker/logger_junit_spec.rb +93 -0
  44. data/spec/beaker/network_manager_spec.rb +52 -0
  45. metadata +14 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjZjMDRmZTM0YjZiNDcyYmQ1M2FhZjJmOTk5NTM3YTVmOWRhODkxMA==
4
+ Yjc5M2YyNThjNmVmZWY0MWFhMDc1YTY3Yzc2NjBkZTJjN2Q2NWMxNA==
5
5
  data.tar.gz: !binary |-
6
- YWQwNTBlZDExNGZiZWRkMmUxZjk2YjgxYTZiODA3N2NiYmJmYTc5Ng==
6
+ YWQ5ZTlmMzcwNjBkYmQyYTI0NWEwODU0ZmI4MzBhNDhiMDk5MjBkMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWQ2Yjc3ZDIzODAzMWViNTc5YmUxMmUyNjU0MWUyY2FkOTcwNzMyNTU4NjEx
10
- NDQ3NTU5YTZjZDE1ZmMzYzExM2Y4MTFjMjMyMjRmMjNjZDljY2IzOGM2NWI1
11
- NWMwMGU2ZDI2YTRjZTI0NzJiYWY1MTZhY2YxN2I1ZTI3MjVmZWY=
9
+ N2Q1NDllNzQ4Y2NjOTRjMjljZTU4M2JhNDgxZDVmNDI0MjE4ZTljNzMyNmFi
10
+ OTMwMTFiNTY1MzhlMGViYzA0ZWIzMGI3YWM3ZTY3NDk4NjdjMDhhMzgzMTkx
11
+ NzdkMTAxY2ViNWE3N2Y5NTliZDcxZTdmMmE1Zjk0Njk4OTk0ZmU=
12
12
  data.tar.gz: !binary |-
13
- MDM5N2I3YTE3MzViOWQ3MGUxZGNlYWE5YjEwMjE1ZTA3NjMzMjgwZWIwYWFi
14
- ZjFiNTkwYjk0ZTY4NDdmNGZjMDJkMWM5ZTU4NTQ4YWRhNWU2ZTY2ZjBiMTA4
15
- YjgzYWM4MGI0OTEzNDU0NDMwZDgxM2ZkMmEzOWI2ZWUwM2IwNTM=
13
+ MmVmYTM0NmM1ZjNiNDAyZTM2NTEyNTY2NjA4YjE0OGQ4YWIwODAwMTI4NTQ2
14
+ NTcwMjMzNWY1NDVhODA5ZjJlNzU5ZDlmNWFkMzUxZTc1YTBhODkxOTFlM2Fi
15
+ N2MzNGU1OTc1OGJkNDUyNWEyYTA0OWZkN2NkMjMxNWViM2MwZDY=
data/HISTORY.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # default - History
2
2
  ## Tags
3
- * [LATEST - 29 Jan, 2015 (41028a79)](#LATEST)
3
+ * [LATEST - 13 Feb, 2015 (75d618b8)](#LATEST)
4
+ * [beaker2.3.0 - 29 Jan, 2015 (3d185da0)](#beaker2.3.0)
4
5
  * [beaker2.2.0 - 8 Jan, 2015 (cba5f7ed)](#beaker2.2.0)
5
6
  * [beaker2.1.0 - 17 Dec, 2014 (ec089b1a)](#beaker2.1.0)
6
7
  * [beaker2.0.0 - 5 Dec, 2014 (fb4b620b)](#beaker2.0.0)
@@ -68,7 +69,370 @@
68
69
  * [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
69
70
 
70
71
  ## Details
71
- ### <a name = "LATEST">LATEST - 29 Jan, 2015 (41028a79)
72
+ ### <a name = "LATEST">LATEST - 13 Feb, 2015 (75d618b8)
73
+
74
+ * (GEM) update beaker version to 2.4.0 (75d618b8)
75
+
76
+ * Merge pull request #678 from joshcooper/ticket/master/QENG-1812-print-ssh-environment (473f394e)
77
+
78
+
79
+ ```
80
+ Merge pull request #678 from joshcooper/ticket/master/QENG-1812-print-ssh-environment
81
+
82
+ (QENG-1812) Print beaker ssh environment
83
+ ```
84
+ * Merge pull request #679 from joshcooper/ticket/master/QENG-1813-puppet-server-aio-paths (aeecafdf)
85
+
86
+
87
+ ```
88
+ Merge pull request #679 from joshcooper/ticket/master/QENG-1813-puppet-server-aio-paths
89
+
90
+ (QENG-1813) Use puppet-server service names
91
+ ```
92
+ * (QENG-1813) Use puppet-server service names (4d63f00a)
93
+
94
+
95
+ ```
96
+ (QENG-1813) Use puppet-server service names
97
+
98
+ Previously, when executing AIO acceptance tests, the beaker method
99
+ `with_puppet_running_on` would attempt to start and stop the
100
+ `puppetmaster` service. This is because the AIO defaults for
101
+ `puppetservice` and related conf.d were not specified, and would
102
+ fallback to the FOSS defaults.
103
+
104
+ This commit updates the AIO defaults to match the `puppetserver`
105
+ service, and related conf.d.
106
+ ```
107
+ * (QENG-1812) Print beaker ssh environment (dcfd31d6)
108
+
109
+
110
+ ```
111
+ (QENG-1812) Print beaker ssh environment
112
+
113
+ Beaker sets the PATH and RUBYLIB environment variables in
114
+ ~/.ssh/environment, but it was previously difficult to tell what the end
115
+ result was.
116
+
117
+ This commit cats the ~/.ssh/environment file so we know what the PATH
118
+ and RUBYLIB environment variables are for the current SSH session.
119
+ ```
120
+ * Merge pull request #676 from kevpl/qeng1809_aio_removemasterreset (ad6bc3b2)
121
+
122
+
123
+ ```
124
+ Merge pull request #676 from kevpl/qeng1809_aio_removemasterreset
125
+
126
+ (QENG-1809) removed master path resets for AIO test setups
127
+ ```
128
+ * (QENG-1809) removed master path resets for AIO test setups (8cc03799)
129
+
130
+
131
+ ```
132
+ (QENG-1809) removed master path resets for AIO test setups
133
+
134
+ Originally, I had assumed that machines with the master role would keep their old paths, or be updated
135
+ with a completely new set. It looks like the master pathing will actually be based upon the agent though,
136
+ since masters will be installed on top of agents now
137
+ ```
138
+ * Merge pull request #669 from anodelman/answers (af4bb88c)
139
+
140
+
141
+ ```
142
+ Merge pull request #669 from anodelman/answers
143
+
144
+ (QENG-1734) PE 4.0.x/shallow-gravy answers file
145
+ ```
146
+ * Merge pull request #598 from nrvale0/ignore_bundle_dir (b7612cf3)
147
+
148
+
149
+ ```
150
+ Merge pull request #598 from nrvale0/ignore_bundle_dir
151
+
152
+ (MAINT) also ignore the 'bundle' directory
153
+ ```
154
+ * Merge pull request #672 from kevpl/qeng1795_aio_fixotherpaths (ae5f0ea2)
155
+
156
+
157
+ ```
158
+ Merge pull request #672 from kevpl/qeng1795_aio_fixotherpaths
159
+
160
+ (QENG-1795) added code & conf paths to non-unix hosts
161
+ ```
162
+ * Merge pull request #674 from joshcooper/maint/aio_windows (cd73846e)
163
+
164
+
165
+ ```
166
+ Merge pull request #674 from joshcooper/maint/aio_windows
167
+
168
+ (maint) Add ruby to windows PATH
169
+ ```
170
+ * (MAINT) also ignore the 'bundle' directory #598 (4d0aedb0)
171
+
172
+ * (maint) Add ruby to windows PATH (21484320)
173
+
174
+
175
+ ```
176
+ (maint) Add ruby to windows PATH
177
+
178
+ Previously, beaker would add `puppetbindir` to the `~/.ssh/environment`,
179
+ which on Windows, excluded the ruby that the MSI installs. As a result,
180
+ puppet setup steps that rely on `gem`, e.g. when adding sources, would
181
+ fail.
182
+
183
+ This commit adds the ruby in the MSI to the `~/.ssh/environment` simply by
184
+ it being included in `puppetbindir`. Note the actual location depends on
185
+ whether we are installing x86 puppet on x64 windows, or not, so we
186
+ include both possibilities like we do for puppet's main bin directory.
187
+ ```
188
+ * Merge pull request #673 from kevpl/maint_windows_fixtypo (2fd6d969)
189
+
190
+
191
+ ```
192
+ Merge pull request #673 from kevpl/maint_windows_fixtypo
193
+
194
+ (MAINT) fixing windows cygwin check typo
195
+ ```
196
+ * (MAINT) fixing windows cygwin check typo (de4612fb)
197
+
198
+ * (QENG-1795) added code & conf paths to non-unix hosts (198bebb4)
199
+
200
+ * Merge pull request #668 from kevpl/qeng1781_aio_pathupdate (1d89f2c8)
201
+
202
+
203
+ ```
204
+ Merge pull request #668 from kevpl/qeng1781_aio_pathupdate
205
+
206
+ (QENG-1781) updated unix path entries for AIO
207
+ ```
208
+ * Merge pull request #671 from puppetlabs/revert-667-qeng1784_foss_grouproot (2e890309)
209
+
210
+
211
+ ```
212
+ Merge pull request #671 from puppetlabs/revert-667-qeng1784_foss_grouproot
213
+
214
+ Revert "(QENG-1784) updated FOSS group to be root instead of puppet"
215
+ ```
216
+ * Merge pull request #663 from kbarber/pdb-1034-ezbake-pr-testing (34e5a230)
217
+
218
+
219
+ ```
220
+ Merge pull request #663 from kbarber/pdb-1034-ezbake-pr-testing
221
+
222
+ (PDB-1034) Ezbake changes to get PDB source based builds working
223
+ ```
224
+ * Revert "(QENG-1784) updated FOSS group to be root instead of puppet" (e887ef4a)
225
+
226
+ * Merge pull request #624 from kevpl/qeng1410_log_provisioningadd (e2c5df0c)
227
+
228
+
229
+ ```
230
+ Merge pull request #624 from kevpl/qeng1410_log_provisioningadd
231
+
232
+ (QENG-1410) implemented provisioning log
233
+ ```
234
+ * (QENG-1781) updated unix path entries for AIO (7f55277a)
235
+
236
+ * Merge pull request #667 from kevpl/qeng1784_foss_grouproot (b68442f7)
237
+
238
+
239
+ ```
240
+ Merge pull request #667 from kevpl/qeng1784_foss_grouproot
241
+
242
+ (QENG-1784) updated FOSS group to be root instead of puppet
243
+ ```
244
+ * (QENG-1784) updated FOSS group to be root instead of puppet (8a4adfbd)
245
+
246
+ * (QENG-1734) PE 4.0.x/shallow-gravy answers file (27449e22)
247
+
248
+
249
+ ```
250
+ (QENG-1734) PE 4.0.x/shallow-gravy answers file
251
+
252
+ - add 4.0/3.99 answer generation support
253
+ ```
254
+ * Merge pull request #665 from doug-rosser/el7_hostname_fix (d029c7a0)
255
+
256
+
257
+ ```
258
+ Merge pull request #665 from doug-rosser/el7_hostname_fix
259
+
260
+ (QENG-1757) use a different command to set the hostname for AWS el-7 ins...
261
+ ```
262
+ * (QENG-1757) use a different command to set the hostname for AWS el-7 instances (5dcc75a7)
263
+
264
+ * Merge pull request #613 from petems/improve_error_message_when_docker_not_found (abc7becd)
265
+
266
+
267
+ ```
268
+ Merge pull request #613 from petems/improve_error_message_when_docker_not_found
269
+
270
+ (MAINT) Improve error message when docker not found
271
+ ```
272
+ * Merge pull request #664 from dsbaars/vagrant_parallels_hypervisor (55fc8376)
273
+
274
+
275
+ ```
276
+ Merge pull request #664 from dsbaars/vagrant_parallels_hypervisor
277
+
278
+ Added Vagrant Parallels Hypervisor
279
+ ```
280
+ * Merge pull request #635 from liamjbennett/bitvise_communicator (a420cdac)
281
+
282
+
283
+ ```
284
+ Merge pull request #635 from liamjbennett/bitvise_communicator
285
+
286
+ (gh-433) Adding support to use bitvise ssh server as an alternative ssh provider
287
+ ```
288
+ * Merge pull request #651 from puppetlabs/MAINT-fix_vagrantfile_syntax_error (91723d68)
289
+
290
+
291
+ ```
292
+ Merge pull request #651 from puppetlabs/MAINT-fix_vagrantfile_syntax_error
293
+
294
+ (MAINT) Fix Vagrantfile syntax error
295
+ ```
296
+ * Merge pull request #643 from mcanevet/feature/openstack/credentials_from_env (89c46146)
297
+
298
+
299
+ ```
300
+ Merge pull request #643 from mcanevet/feature/openstack/credentials_from_env
301
+
302
+ (gh-642) Lookup Openstack credentials from ENV
303
+ ```
304
+ * Merge pull request #655 from anodelman/assertions (8f26cb82)
305
+
306
+
307
+ ```
308
+ Merge pull request #655 from anodelman/assertions
309
+
310
+ (QENG-1629) Add expect_failure() to Beaker DSL (the code is provided)
311
+ ```
312
+ * (gh-664) Fix and better test (6a9474f1)
313
+
314
+ * Added Vagrant Parallels Hypervisor (7d1a25a8)
315
+
316
+ * Merge pull request #659 from er0ck/QENG-1758-beaker_bash_completion_script_should_not_prevent_filename_completion (8382ed98)
317
+
318
+
319
+ ```
320
+ Merge pull request #659 from er0ck/QENG-1758-beaker_bash_completion_script_should_not_prevent_filename_completion
321
+
322
+ (QENG-1758) beaker bash completion script should not prevent filename co...
323
+ ```
324
+ * Merge pull request #661 from johnduarte/aio-default-paths (76427fbd)
325
+
326
+
327
+ ```
328
+ Merge pull request #661 from johnduarte/aio-default-paths
329
+
330
+ (gh-660) Update default aio puppetpath path for unix
331
+ ```
332
+ * (gh-660) Update default aio puppetpath path for unix (30c30d3e)
333
+
334
+
335
+ ```
336
+ (gh-660) Update default aio puppetpath path for unix
337
+
338
+ This commit updates the default aio puppetpath to /etc/puppetlabs/agent
339
+ ```
340
+ * (QENG-1758) beaker bash completion script should not prevent filename completion (293a6a82)
341
+
342
+
343
+ ```
344
+ (QENG-1758) beaker bash completion script should not prevent filename completion
345
+
346
+ This change specifies -o default to use the default completion method
347
+ when a completion is not found with this script. This allows completion
348
+ of filenames as well as beaker's options.
349
+ ```
350
+ * (QENG-1629) Add expect_failure() to Beaker DSL (the code is provided) (1a14e50c)
351
+
352
+
353
+ ```
354
+ (QENG-1629) Add expect_failure() to Beaker DSL (the code is provided)
355
+
356
+ - add expect_failure method
357
+ - add expect_failure spec tests
358
+ ```
359
+ * (QENG-1410) implemented feedback from PR (f004e7b2)
360
+
361
+ * (MAINT) Fix Vagrantfile syntax error (86fe7731)
362
+
363
+
364
+ ```
365
+ (MAINT) Fix Vagrantfile syntax error
366
+
367
+ Missed new line:
368
+
369
+
370
+
371
+ /Users/petersouter/projects/puppet-chocolatey/.vagrant/beaker_vagrant_files/default.yml/Vagrantfile:9: syntax error, unexpected tIDENTIFIER, expecting keyword_end
372
+ v.vm.guest = :windows v.vm.provider :virtualbox do |vb|
373
+
374
+
375
+ ```
376
+ * (gh-642) Lookup Openstack credentials from ENV (d550bd08)
377
+
378
+ * (gh-433) Adding support to use bitvise ssh server as an alternative ssh provider (f551c0ad)
379
+
380
+ * (MAINT) Adds spec for `validate_version!` (25909d02)
381
+
382
+ * (MAINT) Catch error when cant connect to docker (12a952c2)
383
+
384
+
385
+ ```
386
+ (MAINT) Catch error when cant connect to docker
387
+
388
+ Right now, if you try to run a beaker test with the docker hypervisor and Docker is not running, you get a big stack trace:
389
+
390
+
391
+
392
+ Hypervisor for debian-7 is docker
393
+ Beaker::Hypervisor, found some docker boxes to create
394
+ /opt/rubies/2.0.0-p451/lib/ruby/gems/2.0.0/gems/excon-0.43.0/lib/excon/unix_socket.rb:14:in `connect_nonblock': No such file or directory - connect(2) (Errno::ENOENT) (Excon::Errors::SocketError)
395
+ from /opt/rubies/2.0.0-p451/lib/ruby/gems/2.0.0/gems/excon-0.43.0/lib/excon/unix_socket.rb:14:in `connect'
396
+ from /opt/rubies/2.0.0-p451/lib/ruby/gems/2.0.0/gems/excon-0.43.0/lib/excon/socket.rb:28:in `initialize'
397
+
398
+
399
+
400
+ This improves the message a bit
401
+ ```
402
+ * (QENG-1410) implemented provisioning log (0a478adb)
403
+
404
+ * (PDB-1034) Ezbake changes to get PDB source based builds working (32af120c)
405
+
406
+
407
+ ```
408
+ (PDB-1034) Ezbake changes to get PDB source based builds working
409
+
410
+ This involves a rework of the ezbake_utils to provide more capability to fully
411
+ install PuppetDB using these helpers.
412
+
413
+ * Some of the original API has been simplified, and the YAGNI parts removed
414
+ since no one was using them today.
415
+ * We now do the lein install process, but using a local maven repository to
416
+ avoid collision with other projects running on the same host.
417
+ * install_termini_from_ezbake now added to install that component
418
+ * I've switched to using the install.sh methodology on ezbake.
419
+ * This now is compatible with lein-ezbake.
420
+ * ezbake_local_cmd has been added to generalize this kind of system invocation
421
+ and simplify testing.
422
+ * ezbake_installsh generalizes the way we invoke install.sh, and simplifies testing.
423
+ * install_ezbake_tarball_on_host has been created to generalize this step for
424
+ the termini and service based installations to re-use. Its idempotent, in
425
+ that it checks to ensure its not already installed.
426
+ * conditionally_clone was modified to support being passed a branch if required,
427
+ so in the future we can simplify working on a development branch.
428
+ * Lots of yarddoc cleanups
429
+ * Some rspec coverage
430
+
431
+ Signed-off-by: Ken Barber <ken@bob.sh>
432
+ ```
433
+ ### <a name = "beaker2.3.0">beaker2.3.0 - 29 Jan, 2015 (3d185da0)
434
+
435
+ * (HISTORY) update beaker history for gem release 2.3.0 (3d185da0)
72
436
 
73
437
  * (GEM) update beaker version to 2.3.0 (41028a79)
74
438
 
@@ -50,4 +50,4 @@ _beaker_complete()
50
50
  }
51
51
 
52
52
  # Register _beaker_complete to provide completion for the following commands
53
- complete -F _beaker_complete beaker pe-beaker
53
+ complete -F _beaker_complete -o default beaker pe-beaker
data/lib/beaker.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems' unless defined?(Gem)
2
2
  module Beaker
3
3
 
4
- %w( version platform test_suite result command options network_manager cli perf ).each do |lib|
4
+ %w( version platform test_suite result command options network_manager cli perf logger_junit ).each do |lib|
5
5
  begin
6
6
  require "beaker/#{lib}"
7
7
  rescue LoadError
@@ -17,6 +17,8 @@ module Beaker
17
17
  case version
18
18
  when /\A4\.0/
19
19
  return Version34.new(version, hosts, options)
20
+ when /\A3\.99/
21
+ return Version40.new(version, hosts, options)
20
22
  when /\A3\.7/
21
23
  return Version34.new(version, hosts, options)
22
24
  when /\A3\.4/
@@ -90,7 +92,7 @@ module Beaker
90
92
 
91
93
  end
92
94
 
93
- [ 'version34', 'version32', 'version30', 'version28', 'version20' ].each do |lib|
95
+ [ 'version40', 'version34', 'version32', 'version30', 'version28', 'version20' ].each do |lib|
94
96
  require "beaker/answers/#{lib}"
95
97
  end
96
98
  end
@@ -0,0 +1,42 @@
1
+ require 'beaker/answers/version34'
2
+
3
+ module Beaker
4
+ # This class provides answer file information for PE version 4.0
5
+ #
6
+ # @api private
7
+ class Version40 < Version34
8
+ def generate_answers
9
+ masterless = @options[:masterless]
10
+ return super if masterless
11
+
12
+ master = only_host_with_role(@hosts, 'master')
13
+
14
+ the_answers = super
15
+
16
+ # remove some old answers
17
+ # - q_puppet_cloud_install
18
+ # - q_puppet_enterpriseconsole_database_name
19
+ # - q_puppet_enterpriseconsole_database_password
20
+ # - q_puppet_enterpriseconsole_database_user
21
+
22
+ the_answers.map do |vm, as|
23
+ as.delete_if do |key, value|
24
+ key =~ /q_puppet_cloud_install/
25
+ #to be deleted in the future
26
+ #|q_puppet_enterpriseconsole_database_name|q_puppet_enterpriseconsole_database_password|q_puppet_enterpriseconsole_database_user/
27
+ end
28
+ end
29
+
30
+ # add some new answers
31
+ update_server_host = answer_for(@options, :q_update_server_host, master)
32
+ install_update_server = answer_for(@options, :q_install_update_server, 'y')
33
+
34
+ the_answers.map do |key, value|
35
+ the_answers[key][:q_update_server_host] = update_server_host
36
+ end
37
+ the_answers[master.name][:q_install_update_server] = install_update_server
38
+
39
+ return the_answers
40
+ end
41
+ end
42
+ end