Skip to content

Commit 0427248

Browse files
committed
Merge pull request #283 from cyberious/4.3.x
Add windows support and work around issue with SCP_TO on windows systems
2 parents 191f180 + 78f5141 commit 0427248

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

spec/spec_helper_acceptance.rb

+10-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626

2727
# Configure all nodes in nodeset
2828
c.before :suite do
29-
puppet_module_install(:source => proj_root, :module_name => 'stdlib')
29+
hosts.each do |host|
30+
if host['platform'] !~ /windows/i
31+
copy_root_module_to(host, :source => proj_root, :module_name => 'stdlib')
32+
end
33+
end
34+
hosts.each do |host|
35+
if host['platform'] =~ /windows/i
36+
on host, puppet('plugin download')
37+
end
38+
end
3039
end
3140
end

0 commit comments

Comments
 (0)