From b5aa59ed2ae72996a4231c49e675047daf7472bb Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Tue, 7 Jul 2015 14:07:54 -0700 Subject: [PATCH] Correct `puppet module list` check in beaker The final check during the prep stage, where `puppet module list` is run so that its output can be used for debugging, should run on the current host in the loop, not the first host in the array. Change-Id: Iae34f41d56d01865b08a09d4de2ec3b86ce4ce82 --- spec/spec_helper_acceptance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 634c6041..5fb6e84b 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -35,7 +35,7 @@ RSpec.configure do |c| # Install the module being tested puppet_module_install(:source => proj_root, :module_name => 'openstacklib') # List modules installed to help with debugging - on hosts[0], puppet('module','list'), { :acceptable_exit_codes => 0 } + on host, puppet('module','list'), { :acceptable_exit_codes => 0 } end end end