Merge pull request #283 from cyberious/4.3.x
Add windows support and work around issue with SCP_TO on windows systems
This commit is contained in:
commit
0427248cf0
1 changed files with 10 additions and 1 deletions
|
@ -26,6 +26,15 @@ RSpec.configure do |c|
|
|||
|
||||
# Configure all nodes in nodeset
|
||||
c.before :suite do
|
||||
puppet_module_install(:source => proj_root, :module_name => 'stdlib')
|
||||
hosts.each do |host|
|
||||
if host['platform'] !~ /windows/i
|
||||
copy_root_module_to(host, :source => proj_root, :module_name => 'stdlib')
|
||||
end
|
||||
end
|
||||
hosts.each do |host|
|
||||
if host['platform'] =~ /windows/i
|
||||
on host, puppet('plugin download')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue