Skip to content

Commit 21d12d9

Browse files
committed
Merge pull request #206 from mhaskel/scp_workaround
Use scp to install the module
2 parents 28a9eb5 + 315a73b commit 21d12d9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

spec/spec_helper_acceptance.rb

+6-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727

2828
# Configure all nodes in nodeset
2929
c.before :suite do
30-
# Install module
31-
puppet_module_install(:source => proj_root, :module_name => 'ntp')
30+
hosts.each do |host|
31+
on host, "mkdir -p #{host['distmoduledir']}/ntp"
32+
%w(lib manifests templates metadata.json).each do |file|
33+
scp_to host, "#{proj_root}/#{file}", "#{host['distmoduledir']}/ntp"
34+
end
35+
end
3236
end
3337
end

0 commit comments

Comments
 (0)