From 582997697ba2fa1654451d3b6b142796a7ca5a0c Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Tue, 6 May 2014 15:54:29 -0700 Subject: [PATCH] Fix access to distmoduledir --- spec/spec_helper_acceptance.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index ea0622a..13d056f 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -18,7 +18,9 @@ unless ENV['RS_PROVISION'] == 'no' or ENV['BEAKER_provision'] == 'no' else install_puppet end - on hosts, "mkdir -p #{host['distmoduledir']}" + hosts.each do |host| + on host, "mkdir -p #{host['distmoduledir']}" + end end RSpec.configure do |c| -- 2.45.2