diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 53c7ffbfe..e830e7fee 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -27,7 +27,11 @@ # Configure all nodes in nodeset c.before :suite do - # Install module - puppet_module_install(:source => proj_root, :module_name => 'ntp') + hosts.each do |host| + on host, "mkdir -p #{host['distmoduledir']}/ntp" + %w(lib manifests templates metadata.json).each do |file| + scp_to host, "#{proj_root}/#{file}", "#{host['distmoduledir']}/ntp" + end + end end end