Skip to content

Commit

Permalink
Merge pull request redhat-openstack#206 from mhaskel/scp_workaround
Browse files Browse the repository at this point in the history
Use scp to install the module
  • Loading branch information
cyberious committed Sep 16, 2014
2 parents 28a9eb5 + 315a73b commit 21d12d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 21d12d9

Please sign in to comment.