lib/beaker/answers/version32.rb in beaker-2.2.0 vs lib/beaker/answers/version32.rb in beaker-2.3.0
- old
+ new
@@ -8,9 +8,12 @@
# Return answer data for all hosts.
#
# @return [Hash] A hash (keyed from hosts) containing hashes of answer file
# data.
def generate_answers
+ masterless = @options[:masterless]
+ return super if masterless
+
dashboard = only_host_with_role(@hosts, 'dashboard')
database = only_host_with_role(@hosts, 'database')
master = only_host_with_role(@hosts, 'master')
the_answers = super