From: Colleen Murphy Date: Tue, 7 Jul 2015 20:38:27 +0000 (-0700) Subject: Correct `puppet module list` check in beaker X-Git-Tag: 6.0.0~2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=6f5f5b04c49d3c55cb56e6949a01d107787294d2;p=puppet-modules%2Fpuppet-ceilometer.git 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: I0d8615caf5a652f654ea01020667ef57ab5a90ba --- diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index e0f2748..6aa9a35 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -50,7 +50,7 @@ RSpec.configure do |c| on host, "rm -fr #{repo}" # 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