lib/beaker-answers/versions/upgrade38.rb in beaker-answers-0.7.0 vs lib/beaker-answers/versions/upgrade38.rb in beaker-answers-0.8.0
- old
+ new
@@ -25,10 +25,10 @@
the_answers[host.name][:q_classifier_database_password] = "'#{answer_for(@options, :q_classifier_database_password)}'"
the_answers[host.name][:q_puppetmaster_certname] = answer_for(@options, :q_puppetmaster_certname)
# The dashboard also needs additional answers about puppetdb on the remote host
if host == dashboard
the_answers[host.name][:q_puppet_enterpriseconsole_auth_password] = "'#{answer_for(@options, :q_puppet_enterpriseconsole_auth_password)}'"
- the_answers[host.name][:q_puppetdb_hostname] = answer_for(@options, :q_puppetdb_hostname, database.reachable_name)
+ the_answers[host.name][:q_puppetdb_hostname] = answer_for(@options, :q_puppetdb_hostname)
the_answers[host.name][:q_puppetdb_database_password] = "'#{answer_for(@options, :q_puppetdb_database_password)}'"
the_answers[host.name][:q_puppetdb_database_name] = answer_for(@options, :q_puppetdb_database_name)
the_answers[host.name][:q_puppetdb_database_user] = answer_for(@options, :q_puppetdb_database_user)
the_answers[host.name][:q_puppetdb_port] = answer_for(@options, :q_puppetdb_port)
end