From 0cb0b1ab0b27d6bd7cad0fe861fff7f75db142b5 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Thu, 11 Sep 2014 12:46:42 -0400 Subject: [PATCH] Work-around. --- spec/spec_helper_acceptance.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 363f4d0..48306ee 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -24,7 +24,11 @@ RSpec.configure do |c| c.before :suite do # Install module and dependencies hosts.each do |host| - copy_module_to(host, :source => proj_root, :module_name => 'concat') + on host, "mkdir -p #{host['distmoduledir']}/concat" + %w(files lib manifests metadata.json).each do |file| + scp_to host, "#{proj_root}/#{file}", "#{host['distmoduledir']}/concat" + end + #copy_module_to(host, :source => proj_root, :module_name => 'concat') on host, puppet('module','install','puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] } end end